See Also: MethodImplAttribute Members
You can apply this attribute to methods or constructors.
This attribute lets you customize the configuration of the method or constructor to which it applies by supplying a System.Runtime.CompilerServices.MethodImplOptions value to its class constructor. The members of the System.Runtime.CompilerServices.MethodImplOptions enumeration correspond to bit fields in the CorMethodImpl metadata table. This means that information on the attribute cannot be retrieved at run time by calling the System.Reflection.MemberInfo.GetCustomAttributes(bool) method; instead, it is retrieved by calling either the MethodInfo.GetMethodImplementationFlags or the ConstructorInfo.GetMethodImplementationFlags method.