6 references to GetCustomAttribute
PresentationCore (1)
MS\Internal\Resources\ResourceManagerWrapper.cs (1)
189
NeutralResourcesLanguageAttribute neutralLangAttr = Attribute.
GetCustomAttribute
(_assembly, typeof(NeutralResourcesLanguageAttribute)) as NeutralResourcesLanguageAttribute;
PresentationFramework (2)
System\Windows\Markup\XamlTypeMapper.cs (1)
2732
RootNamespaceAttribute rnsa = (RootNamespaceAttribute)Attribute.
GetCustomAttribute
(a, typeof(RootNamespaceAttribute));
System\Windows\ThemeInfoAttribute.cs (1)
50
return Attribute.
GetCustomAttribute
(assembly, typeof(ThemeInfoAttribute)) as ThemeInfoAttribute;
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
13
return Attribute.
GetCustomAttribute
(element, attributeType);
System\Reflection\Attribute.NativeAot.cs (1)
19
public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit) =>
GetCustomAttribute
(element, attributeType); // "inherit" is meaningless for assemblies
System.Xaml (1)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
432
Attribute.
GetCustomAttribute
(assembly, typeof(RootNamespaceAttribute));