2 overrides of CustomAttributes
System.Private.CoreLib (1)
System\Reflection\Runtime\ParameterInfos\RuntimeParameterInfo.cs (1)
23public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
33public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
14 references to CustomAttributes
Aspire.Hosting.RemoteHost (1)
Ats\CapabilityDispatcher.cs (1)
869if (TryGetUnionMemberClrTypes(parameter.CustomAttributes) is { Count: > 0 } unionMemberTypes)
Microsoft.AspNetCore.Http.Extensions (2)
RequestDelegateFactory.cs (1)
805else if (parameter.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType)))
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
83if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (1)
278else if (parameter.ParameterInfo.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType) || typeof(FromKeyedServicesAttribute).IsAssignableFrom(a.AttributeType)) ||
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
83if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiGenerator.cs (1)
429else if (parameter.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType) || typeof(FromKeyedServicesAttribute).IsAssignableFrom(a.AttributeType)) ||
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
83if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
80else if (p.CustomAttributes.Any())
Microsoft.Maui.Controls.Xaml (5)
CreateValuesVisitor.cs (5)
76 ci.GetParameters().All(pi => pi.CustomAttributes.Any(attr => attr.AttributeType == typeof(ParameterAttribute)))) && 210 ci.GetParameters().All(pi => pi.CustomAttributes.Any(attr => attr.AttributeType == typeof(ParameterAttribute)))); 216 parameter.CustomAttributes.First(ca => ca.AttributeType.FullName == "Microsoft.Maui.Controls.ParameterAttribute") 236 ci.GetParameters().All(pi => pi.CustomAttributes.Any(attr => attr.AttributeType == typeof(ParameterAttribute)))); 314 parameter.CustomAttributes.First(attr => attr.AttributeType == typeof(ParameterAttribute))
System.Private.CoreLib (1)
Internal\Reflection\Extensions\NonPortable\CustomAttributeInheritanceRules.cs (1)
224return element.CustomAttributes;