8 implementations of GetCustomAttributes
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
357object[] ICustomAttributeProvider.GetCustomAttributes(bool inherit)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
116public virtual object[] GetCustomAttributes(bool inherit) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\EmptyCAHolder.cs (1)
12object[] ICustomAttributeProvider.GetCustomAttributes(bool inherit) => Array.Empty<object>();
src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
35public abstract object[] GetCustomAttributes(bool inherit);
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
35public virtual object[] GetCustomAttributes(bool inherit) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
44public virtual object[] GetCustomAttributes(bool inherit) => Array.Empty<object>();
System.Xaml.Tests (2)
System\Xaml\XamlMemberTests.cs (1)
2349public object[] GetCustomAttributes(bool inherit) => throw new NotImplementedException();
System\Xaml\XamlTypeTests.cs (1)
5273public object[] GetCustomAttributes(bool inherit) => throw new NotImplementedException();
13 references to GetCustomAttributes
Microsoft.AspNetCore.Mvc.Core (1)
ApiExplorer\ApiConventionMatcher.cs (1)
68var attributes = attributeProvider.GetCustomAttributes(inherit: false);
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApiExplorer\ApiConventionMatcherTest.cs (6)
434var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes); 449var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes); 469var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes); 484var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes); 499var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes); 519var provider = Mock.Of<ICustomAttributeProvider>(p => p.GetCustomAttributes(false) == attributes);
Microsoft.AspNetCore.OpenApi (2)
Services\Schemas\OpenApiSchemaService.cs (2)
48.GetCustomAttributes(inherit: false) 110var propertyAttributes = attributeProvider.GetCustomAttributes(inherit: false);
System.Private.Xml (2)
System\Xml\Serialization\SoapAttributes.cs (1)
32object[] attrs = provider.GetCustomAttributes(false);
System\Xml\Serialization\XmlAttributes.cs (1)
80object[] attrs = provider.GetCustomAttributes(false);
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\ServiceReflector.cs (1)
499object[] allCustomAttributes = attrProvider.GetCustomAttributes(inherit);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
328object[] attrs = header.AdditionalAttributesProvider.GetCustomAttributes(false);