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