9 references to GetCustomAttributes
System.Private.CoreLib (9)
src\System\Reflection\RuntimeCustomAttributeData.cs (9)
1262object[] attributes = GetCustomAttributes(type.GetRuntimeModule(), type.MetadataToken, pcas.Count, caType);
1304object[] attributes = GetCustomAttributes(method.GetRuntimeModule(), method.MetadataToken, pcas.Count, caType);
1337return GetCustomAttributes(ctor.GetRuntimeModule(), ctor.MetadataToken, 0, caType);
1347return GetCustomAttributes(property.GetRuntimeModule(), property.MetadataToken, 0, caType);
1357return GetCustomAttributes(e.GetRuntimeModule(), e.MetadataToken, 0, caType);
1367object[] attributes = GetCustomAttributes(field.GetRuntimeModule(), field.MetadataToken, pcas.Count, caType);
1379object[] attributes = GetCustomAttributes(parameter.GetRuntimeModule()!, parameter.MetadataToken, pcas.Count, caType);
1392return GetCustomAttributes((assembly.ManifestModule as RuntimeModule)!, assemblyToken, 0, caType);
1402return GetCustomAttributes(module, module.MetadataToken, 0, caType);