5 references to GetCustomAttribute
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\AssemblyInformation.cs (1)
42private static Guid s_importerGuid = new Guid(((GuidAttribute)Attribute.GetCustomAttribute(typeof(IMetaDataImport), typeof(GuidAttribute), false)).Value);
ManifestUtil\MetadataReader.cs (1)
387var guidAttr = (GuidAttribute)Attribute.GetCustomAttribute(type, typeof(GuidAttribute), false);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\LicenseManager.cs (1)
280LicenseProviderAttribute? attr = (LicenseProviderAttribute?)Attribute.GetCustomAttribute(type, typeof(LicenseProviderAttribute), false);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
47return Attribute.GetCustomAttribute(element, attributeType, inherit);
src\System\Attribute.CoreCLR.cs (1)
507return GetCustomAttribute(element, attributeType, true);