Implemented interface member:
method
GetCustomAttributes
System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Type, System.Boolean)
4 overrides of GetCustomAttributes
Aspire.Dashboard.Tests (1)
AssemblyExtensionsTests.cs (1)
89
public override object[]
GetCustomAttributes
(Type attributeType, bool inherit)
System.Private.CoreLib (1)
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (1)
33
public sealed override object[]
GetCustomAttributes
(Type attributeType, bool inherit)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (1)
45
public override object[]
GetCustomAttributes
(Type attributeType, bool inherit)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
209
public 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)
Program.cs (1)
58
var attribute = (AssemblyInformationalVersionAttribute)typeof(Program).Assembly.
GetCustomAttributes
(typeof(AssemblyInformationalVersionAttribute), false).Single();
ILCompiler.Diagnostics (2)
PdbWriter.cs (2)
443
foreach (AssemblyFileVersionAttribute versionAttribute in typeof(PdbWriter).Assembly.
GetCustomAttributes
(typeof(AssemblyFileVersionAttribute), true))
460
foreach (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)
1866
foreach (XmlnsDefinitionAttribute xmlnsDef in asm.
GetCustomAttributes
(typeof(XmlnsDefinitionAttribute), true))
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1561
foreach (XmlnsPrefixAttribute prefix in assembly.
GetCustomAttributes
(typeof(XmlnsPrefixAttribute), true))
1567
Object[] customAttrs = assembly.
GetCustomAttributes
(typeof(XmlnsDefinitionAttribute), true);
System.Configuration.ConfigurationManager (2)
System\Configuration\ClientConfigPaths.cs (2)
298
object[] attrs = exeAssembly.
GetCustomAttributes
(typeof(AssemblyCompanyAttribute), false);
304
attrs = exeAssembly.
GetCustomAttributes
(typeof(AssemblyProductAttribute), false);
System.Diagnostics.TraceSource (1)
System\Diagnostics\SwitchAttribute.cs (1)
54
object[] attribs = assembly.
GetCustomAttributes
(typeof(SwitchAttribute), false);
System.Private.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
269
object[] attrs = serializer.
GetCustomAttributes
(typeof(XmlSerializerVersionAttribute), false);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (1)
47
return UnderlyingAssembly.
GetCustomAttributes
(attributeType, inherit);
System.Windows.Forms (6)
System\Windows\Forms\Application.cs (3)
172
object[] attrs = entryAssembly.
GetCustomAttributes
(typeof(AssemblyCompanyAttribute), false);
503
object[] attrs = entryAssembly.
GetCustomAttributes
(typeof(AssemblyProductAttribute), inherit: false);
553
object[] attrs = entryAssembly.
GetCustomAttributes
(typeof(AssemblyInformationalVersionAttribute), false);
System\Windows\Forms\Control.ControlVersionInfo.cs (3)
33
object[] attrs = _owner.GetType().Module.Assembly.
GetCustomAttributes
(typeof(AssemblyCompanyAttribute), false);
80
object[] attrs = _owner.GetType().Module.Assembly.
GetCustomAttributes
(typeof(AssemblyProductAttribute), false);
128
object[] attrs = _owner.GetType().Module.Assembly.
GetCustomAttributes
(typeof(AssemblyInformationalVersionAttribute), false);
System.Windows.Forms.Design (2)
System\Drawing\BitmapSelector.cs (1)
72
assembly.
GetCustomAttributes
(attributeType, inherit: false).Length > 0;
System\Drawing\Design\ToolboxItem.cs (1)
585
object[] companyattrs = type.Assembly.
GetCustomAttributes
(typeof(AssemblyCompanyAttribute), true);