Implemented interface member:
method
GetCustomAttributes
System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Boolean)
6 overrides of GetCustomAttributes
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
165public override object[] GetCustomAttributes(bool inherit)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
165public override object[] GetCustomAttributes(bool inherit)
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
165public override object[] GetCustomAttributes(bool inherit)
System.Private.CoreLib (1)
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (1)
169public sealed override object[] GetCustomAttributes(bool inherit) => CustomAttributeExtensions.GetCustomAttributes(this, inherit: false).ToArray(); // Desktop compat: for parameters, this form of the api ignores "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);
12 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\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
167var constructorAttributes = _constructionParameterInfo?.GetCustomAttributes(inherit);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
167var constructorAttributes = _constructionParameterInfo?.GetCustomAttributes(inherit);
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
471var attributes = parameterInfo.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)
647parameterInfoDescriptor.ParameterInfo.GetCustomAttributes(inherit: true).Any(attr => attr is RequiredAttribute);
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
167var 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.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
915foreach (object attr in parameterInfo.GetCustomAttributes(inherit: true))
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
760foreach (object attribute in parameter.GetCustomAttributes(true))
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingParameterInfo.cs (1)
67return UnderlyingParameter.GetCustomAttributes(inherit);