Compartir a través de


MethodImplAttributes Enumeration

Contains flags for the attributes of a method implementation.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

[SerializableAttribute]
public enum MethodImplAttributes

Members

  Member name Description
CodeTypeMask A flag specifying code type.
ForwardRef A flag specifying that the method is not defined.
IL A flag specifying that the method implementation is in Microsoft intermediate language (MSIL).
InternalCall A flag specifying an internal call.
Managed A flag specifying that the method implementation is managed.
ManagedMask A flag specifying whether the code is managed or unmanaged.
MaxMethodImplVal A flag specifying a range check value.
Native A flag specifying that the method implementation is native.
NoInlining A flag specifying that the method cannot be inlined.
OPTIL A flag specifying that this member supports the .NET Micro Framework infrastructure and is not intended to be used directly from your code.
PreserveSig A flag specifying that the method signature is exported exactly as declared.
Runtime A flag specifying that the method implementation is provided by the runtime.
Synchronized A flag specifying that the method is single-threaded through the body.
Unmanaged A flag specifying that the method implementation is unmanaged.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

System.Reflection Namespace