Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Reflection.MethodImplAttributes
Assembly: System.Runtime
Specifies flags for the attributes of a method implementation.
Values
IL
Specifies that the method implementation is in Microsoft intermediate language (MSIL).
Managed
Specifies that the method is implemented in managed code.
Native
Specifies that the method implementation is native.
OPTIL
Specifies that the method implementation is in Optimized Intermediate Language (OPTIL).
CodeTypeMask
Specifies flags about code type.
Runtime
Specifies that the method implementation is provided by the runtime.
ManagedMask
Specifies whether the method is implemented in managed or unmanaged code.
Unmanaged
Specifies that the method is implemented in unmanaged code.
NoInlining
Specifies that the method cannot be inlined.
ForwardRef
Specifies that the method is not defined.
Synchronized
Specifies that the method is single-threaded through the body. Static methods ( <see langword="Shared" /> in Visual Basic) lock on the type, whereas instance methods lock on the instance. You can also use the C# lock statement or the Visual Basic SyncLock statement for this purpose.
NoOptimization
Specifies that the method is not optimized by the just-in-time (JIT) compiler or by native code generation (see Ngen.exe) when debugging possible code generation problems.
PreserveSig
Specifies that the method signature is exported exactly as declared.
AggressiveInlining
Specifies that the method should be inlined wherever possible.
AggressiveOptimization
Specifies that the method should be optimized whenever possible.
InternalCall
Specifies an internal call.
Async
MaxMethodImplVal
Specifies a range check value.