11 references to GetCustomAttributes
System.ComponentModel.TypeConverter (2)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (2)
1109
attrs = Attribute.
GetCustomAttributes
(type, typeof(Attribute), inherit: false);
1137
attrs = Attribute.
GetCustomAttributes
(member, typeof(Attribute), inherit: false);
System.Composition.Convention (1)
System\Composition\Convention\PartConventionBuilder.cs (1)
537
Attribute[] attributes = Attribute.
GetCustomAttributes
(ci, typeof(ImportingConstructorAttribute), false);
System.DirectoryServices.AccountManagement (5)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
742
(DirectoryRdnPrefixAttribute[])Attribute.
GetCustomAttributes
(principalType.BaseType, typeof(DirectoryRdnPrefixAttribute), false);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
77
(DirectoryRdnPrefixAttribute[])Attribute.
GetCustomAttributes
(principalType.BaseType, typeof(DirectoryRdnPrefixAttribute), false);
System\DirectoryServices\AccountManagement\ExtensionHelper.cs (3)
24
(DirectoryRdnPrefixAttribute[])Attribute.
GetCustomAttributes
(_p.GetType(), typeof(DirectoryRdnPrefixAttribute), false);
50
(DirectoryObjectClassAttribute[])Attribute.
GetCustomAttributes
(principalType, typeof(DirectoryObjectClassAttribute), false);
79
(DirectoryObjectClassAttribute[])Attribute.
GetCustomAttributes
(_p.GetType(), typeof(DirectoryObjectClassAttribute), false);
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (1)
425
return Attribute.
GetCustomAttributes
(memberInfo, attributeType, inherit);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
129
return Attribute.
GetCustomAttributes
(element, attributeType, inherit);
System\Reflection\Attribute.NativeAot.cs (1)
57
public static Attribute[] GetCustomAttributes(MemberInfo element, Type attributeType) =>
GetCustomAttributes
(element, attributeType, inherit: true);