The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MethodImplOptions Enumeration
Silverlight
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Defines the details of how a method is implemented.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
![]() ![]() | Unmanaged | Specifies that the method is implemented in unmanaged code. |
![]() ![]() | ForwardRef | Specifies that the method is declared, but its implementation is provided elsewhere. |
![]() ![]() | PreserveSig | Specifies that the method signature is exported exactly as declared. |
![]() ![]() | InternalCall | Specifies an internal call. An internal call is a call to a method implemented within the common language runtime itself. |
![]() ![]() | Synchronized | Specifies that the method can be executed by only one thread at a time. |
![]() ![]() | NoInlining | Specifies that the method can not be inlined. |
| AggressiveInlining | The method should be inlined if possible. | |
![]() ![]() | NoOptimization | Specifies that the method is not optimized by the just-in-time (JIT) compiler. |
Version Notes
Silverlight for Windows Phone
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:

