6 references to GetCustomAttribute
PresentationCore (1)
MS\Internal\Resources\ResourceManagerWrapper.cs (1)
189NeutralResourcesLanguageAttribute neutralLangAttr = Attribute.GetCustomAttribute(_assembly, typeof(NeutralResourcesLanguageAttribute)) as NeutralResourcesLanguageAttribute;
PresentationFramework (2)
System\Windows\Markup\XamlTypeMapper.cs (1)
2732RootNamespaceAttribute rnsa = (RootNamespaceAttribute)Attribute.GetCustomAttribute(a, typeof(RootNamespaceAttribute));
System\Windows\ThemeInfoAttribute.cs (1)
50return Attribute.GetCustomAttribute(assembly, typeof(ThemeInfoAttribute)) as ThemeInfoAttribute;
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
13return Attribute.GetCustomAttribute(element, attributeType);
System\Reflection\Attribute.NativeAot.cs (1)
19public 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)
432Attribute.GetCustomAttribute(assembly, typeof(RootNamespaceAttribute));