Implemented interface member:
method
GetCustomAttributes
System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Type, System.Boolean)
4 overrides of GetCustomAttributes
Aspire.Dashboard.Tests (1)
AssemblyExtensionsTests.cs (1)
89public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Private.CoreLib (1)
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (1)
33public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (1)
45public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
209public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new InvalidOperationException(SR.Arg_ReflectionOnlyCA);
24 references to GetCustomAttributes
aspire (2)
Packaging\PackagingService.cs (1)
130.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false)
src\Shared\PackageUpdateHelpers.cs (1)
53.GetCustomAttributes(typeof(System.Reflection.AssemblyInformationalVersionAttribute), false)
Aspire.Hosting (1)
src\Shared\PackageUpdateHelpers.cs (1)
53.GetCustomAttributes(typeof(System.Reflection.AssemblyInformationalVersionAttribute), false)
dotnet-sourcelink (1)
ILCompiler.Diagnostics (2)
PdbWriter.cs (2)
443foreach (AssemblyFileVersionAttribute versionAttribute in typeof(PdbWriter).Assembly.GetCustomAttributes(typeof(AssemblyFileVersionAttribute), true)) 460foreach (AssemblyInformationalVersionAttribute versionAttribute in typeof(PdbWriter).Assembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), true))
Microsoft.Maui (1)
Platform\ReflectionExtensions.cs (1)
14 return assembly.GetCustomAttributes(attrType, true);
Microsoft.Maui.Controls.Build.Tasks (1)
XmlTypeExtensions.cs (1)
43 foreach (XmlnsDefinitionAttribute attribute in assembly.GetCustomAttributes(typeof(XmlnsDefinitionAttribute), false))
PresentationFramework (3)
System\Windows\Markup\BamlReader.cs (1)
1866foreach (XmlnsDefinitionAttribute xmlnsDef in asm.GetCustomAttributes(typeof(XmlnsDefinitionAttribute), true))
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1561foreach (XmlnsPrefixAttribute prefix in assembly.GetCustomAttributes(typeof(XmlnsPrefixAttribute), true)) 1567Object[] customAttrs = assembly.GetCustomAttributes(typeof(XmlnsDefinitionAttribute), true);
System.Configuration.ConfigurationManager (2)
System\Configuration\ClientConfigPaths.cs (2)
298object[] attrs = exeAssembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); 304attrs = exeAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
System.Diagnostics.TraceSource (1)
System\Diagnostics\SwitchAttribute.cs (1)
54object[] attribs = assembly.GetCustomAttributes(typeof(SwitchAttribute), false);
System.Private.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
269object[] attrs = serializer.GetCustomAttributes(typeof(XmlSerializerVersionAttribute), false);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (1)
47return UnderlyingAssembly.GetCustomAttributes(attributeType, inherit);
System.Windows.Forms (6)
System\Windows\Forms\Application.cs (3)
172object[] attrs = entryAssembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); 503object[] attrs = entryAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), inherit: false); 553object[] attrs = entryAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false);
System\Windows\Forms\Control.ControlVersionInfo.cs (3)
33object[] attrs = _owner.GetType().Module.Assembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); 80object[] attrs = _owner.GetType().Module.Assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); 128object[] attrs = _owner.GetType().Module.Assembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false);
System.Windows.Forms.Design (2)
System\Drawing\BitmapSelector.cs (1)
72assembly.GetCustomAttributes(attributeType, inherit: false).Length > 0;
System\Drawing\Design\ToolboxItem.cs (1)
585object[] companyattrs = type.Assembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), true);