Comprises flags that specify the attributes of a method implementation.
[Visual Basic] Public Enum MethodImplAttributes [C#] public enum MethodImplAttributes [C++] public enum MethodImplAttributes
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
MethodImplAttributes is an Enum defining the flags that are the methodimpl flags of a method.
The attributes are logically bitwise Or'd in the following groups.
code impl mask
CodeTypeMask = 0x0003
IL =0x0000
Native = 0x0001
OPTIL = 0x0002
Runtime = 0x0003
managed mask
ManagedMask = 0x0004
Unmanaged = 0x0004
Managed = 0x0000
implementation info and interop
ForwardRef = 0x0010
OLE = 0x0080
InternalCall=0x1000
Synchronized = 0x0020
NoInlining = 0x0008
OneWay = 0x0040
MaxMethodImplVal = 0xFFFF
Member Name | Description |
---|---|
CodeTypeMask | Flags about code type. |
ForwardRef | [To be supplied.] |
IL | Represents that the method implementation is IL. |
InternalCall | [To be supplied.] |
Managed | [To be supplied.] |
ManagedMask | [To be supplied.] |
MaxMethodImplVal | [To be supplied.] |
Native | Represents that the method implementation is native. |
NoInlining | [To be supplied.] |
OLE | [To be supplied.] |
OneWay | [To be supplied.] |
OPTIL | Represents that the method implementation is OPTIL. |
Runtime | Represents that the method implementation is provided by the runtime. |
Synchronized | [To be supplied.] |
Unmanaged | Represents that the method implementation is unmanaged, otherwise managed. |
Namespace: System.Reflection
Assembly: mscorlib.dll