You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
42
external/referencesource/mscorlib/system/reflection/parameterattributes.cs
vendored
Normal file
42
external/referencesource/mscorlib/system/reflection/parameterattributes.cs
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
// ==++==
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// ==--==
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ParameterAttributes is an enum defining the attributes that may be
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// associated with a Parameter. These are defined in CorHdr.h.
|
||||
//
|
||||
// <EMAIL>Author: darylo</EMAIL>
|
||||
// Date: Aug 99
|
||||
//
|
||||
namespace System.Reflection {
|
||||
|
||||
using System;
|
||||
// This Enum matchs the CorParamAttr defined in CorHdr.h
|
||||
[Serializable]
|
||||
[Flags]
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public enum ParameterAttributes
|
||||
{
|
||||
None = 0x0000, // no flag is specified
|
||||
In = 0x0001, // Param is [In]
|
||||
Out = 0x0002, // Param is [Out]
|
||||
#if FEATURE_USE_LCID || FEATURE_LEGACYNETCF
|
||||
Lcid = 0x0004, // Param is [lcid]
|
||||
#endif
|
||||
Retval = 0x0008, // Param is [Retval]
|
||||
Optional = 0x0010, // Param is optional
|
||||
|
||||
// Reserved flags for Runtime use only.
|
||||
ReservedMask = 0xf000,
|
||||
HasDefault = 0x1000, // Param has default value.
|
||||
HasFieldMarshal = 0x2000, // Param has FieldMarshal.
|
||||
Reserved3 = 0x4000, // reserved bit
|
||||
Reserved4 = 0x8000 // reserved bit
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user