Specifies flags for the attributes of a method implementation.
Assembly: mscorlib (in mscorlib.dll)
|Specifies flags about code type.|
|Specifies that the method implementation is in Microsoft intermediate language (MSIL).|
|Specifies that the method implementation is native.|
|Specifies that the method implementation is in optimized intermediate language (OPTIL).|
|Specifies that the method implementation is provided by the runtime.|
|Specifies whether the code is managed or unmanaged.|
|Specifies that the method implementation is unmanaged.|
|Specifies that the method implementation is managed.|
|Specifies that the method is not defined.|
|Specifies that the method signature is exported exactly as declared.|
|Specifies an internal call.|
|Specifies that the method is single-threaded through the body. Static methods (Shared methods 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 Lock function for this purpose.|
|Specifies that the method cannot be inlined.|
|Specifies that the method should always be inlined if possible.|
|Specifies that the method is not optimized by the just-in-time (JIT) compiler when debugging possible code generation problems.|
|Specifies a range check value.|
The attributes are combined using the bitwise OR operation.
Code implementation masks:
Implementation information and interop masks:
Locking on the instance or on the type, for example, by using the flag, is not recommended for public types because code other than your own can take locks on public types and instances. This might cause deadlocks.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.