System.Runtime.InteropServices.PreserveSigAttribute.GetCustomAttribute C# (CSharp) Method

GetCustomAttribute() static private method

static private GetCustomAttribute ( RuntimeMethodInfo method ) : Attribute
method RuntimeMethodInfo
return System.Attribute
        internal static Attribute GetCustomAttribute(RuntimeMethodInfo method) 
        { 
            if ((method.GetMethodImplementationFlags() & MethodImplAttributes.PreserveSig) == 0)
                return null;

            return new PreserveSigAttribute();
        }