static extern CustomAttributeData [] GetCustomAttributesDataInternal (ICustomAttributeProvider obj);
internal static IList <CustomAttributeData> GetCustomAttributesData(ICustomAttributeProvider obj) { if (obj == null) { throw new ArgumentNullException("obj"); } CustomAttributeData[] customAttributesDataInternal = MonoCustomAttrs.GetCustomAttributesDataInternal(obj); return(Array.AsReadOnly <CustomAttributeData>(customAttributesDataInternal)); }