GetCustomAttributesDataInternal() private method

private GetCustomAttributesDataInternal ( ICustomAttributeProvider obj ) : System.Reflection.CustomAttributeData[]
obj ICustomAttributeProvider
return System.Reflection.CustomAttributeData[]
Esempio n. 1
0
 internal static IList <CustomAttributeData> GetCustomAttributesData(ICustomAttributeProvider obj)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     CustomAttributeData[] customAttributesDataInternal = MonoCustomAttrs.GetCustomAttributesDataInternal(obj);
     return(Array.AsReadOnly <CustomAttributeData>(customAttributesDataInternal));
 }