Implemented interface member:
method
GetCustomAttributes
System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Boolean)
6 overrides of GetCustomAttributes
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\PropertyAsParameterInfo.cs (1)
158public override object[] GetCustomAttributes(bool inherit)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\Shared\PropertyAsParameterInfo.cs (1)
158public override object[] GetCustomAttributes(bool inherit)
Microsoft.AspNetCore.OpenApi (1)
src\Shared\PropertyAsParameterInfo.cs (1)
158public override object[] GetCustomAttributes(bool inherit)
System.Private.CoreLib (1)
src\System\Reflection\RuntimeParameterInfo.cs (1)
455public override object[] GetCustomAttributes(bool inherit)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingParameterInfo.cs (1)
65public override object[] GetCustomAttributes(bool inherit)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
61public sealed override object[] GetCustomAttributes(bool inherit) => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
14 references to GetCustomAttributes
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\CustomAttributeProvider.cs (1)
71return this.ParameterInfo.GetCustomAttributes(inherit).ToArray();
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\PropertyAsParameterInfo.cs (1)
160var constructorAttributes = _constructionParameterInfo?.GetCustomAttributes(inherit);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
PropertyAsParameterInfoTests.cs (1)
115var attributes = parameterInfo.GetCustomAttributes(true);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\Shared\PropertyAsParameterInfo.cs (1)
160var constructorAttributes = _constructionParameterInfo?.GetCustomAttributes(inherit);
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
471var attributes = parameterInfo.GetCustomAttributes(inherit: true);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
DataAnnotationsMetadataProviderTest.cs (2)
1655var context = new ValidationMetadataProviderContext(key, GetModelAttributes(parameter.GetCustomAttributes(inherit: true))); 1672var context = new ValidationMetadataProviderContext(key, GetModelAttributes(parameter.GetCustomAttributes(inherit: true)));
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
79var attributes = parameter.GetCustomAttributes(inherit: true);
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (1)
493parameterInfoDescriptor.ParameterInfo.GetCustomAttributes(inherit: true).Any(attr => attr is RequiredAttribute);
src\Shared\PropertyAsParameterInfo.cs (1)
160var constructorAttributes = _constructionParameterInfo?.GetCustomAttributes(inherit);
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
83foreach (var attribute in p.GetCustomAttributes(true))
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1695var attributes = p.GetCustomAttributes(false);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
681foreach (var attribute in parameters[index].GetCustomAttributes(true))
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingParameterInfo.cs (1)
67return UnderlyingParameter.GetCustomAttributes(inherit);