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