8 implementations of GetCustomAttributes
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
362
object[] ICustomAttributeProvider.
GetCustomAttributes
(Type attributeType, bool inherit)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
117
public virtual object[]
GetCustomAttributes
(Type attributeType, bool inherit) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\EmptyCAHolder.cs (1)
10
object[] ICustomAttributeProvider.
GetCustomAttributes
(Type attributeType, bool inherit) => Array.Empty<object>();
src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
36
public abstract object[]
GetCustomAttributes
(Type attributeType, bool inherit);
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
36
public virtual object[]
GetCustomAttributes
(Type attributeType, bool inherit) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
45
public virtual object[]
GetCustomAttributes
(Type attributeType, bool inherit)
System.Xaml.Tests (2)
System\Xaml\XamlMemberTests.cs (1)
2339
public object[]
GetCustomAttributes
(Type attributeType, bool inherit)
System\Xaml\XamlTypeTests.cs (1)
5263
public object[]
GetCustomAttributes
(Type attributeType, bool inherit)
14 references to GetCustomAttributes
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonSchemaCreateContext.cs (1)
91
(TAttribute?)provider?.
GetCustomAttributes
(typeof(TAttribute), inherit).FirstOrDefault();
System.ComponentModel.Composition (2)
Microsoft\Internal\AttributeServices.cs (2)
13
return (T[])attributeProvider.
GetCustomAttributes
(typeof(T), false);
18
return (T[])attributeProvider.
GetCustomAttributes
(typeof(T), inherit);
System.Private.Xml (2)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
57
object[] attrs = provider.
GetCustomAttributes
(typeof(SoapIncludeAttribute), false);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
97
object[] attrs = provider.
GetCustomAttributes
(typeof(XmlIncludeAttribute), false);
System.Reflection.Context (1)
System\Reflection\Context\Custom\AttributeUtils.cs (1)
133
object[] attributes = provider.
GetCustomAttributes
(attributeType, inherit);
System.ServiceModel.Primitives (1)
System\ServiceModel\Description\ServiceReflector.cs (1)
494
return attrProvider.
GetCustomAttributes
(attrType, inherit);
System.Xaml (7)
System\Xaml\Schema\Reflector.cs (6)
69
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, inherit: true);
143
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, false);
177
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, false);
220
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, false);
267
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, false);
302
object[] attributes = CustomAttributeProvider.
GetCustomAttributes
(attributeType, false);
System\Xaml\XamlMember.cs (1)
919
object[] attribs = attributeProvider.
GetCustomAttributes
(typeof(DefaultValueAttribute), true);