1 override of CustomAttributes
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
33public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
13 references to CustomAttributes
Microsoft.AspNetCore.Http.Extensions (2)
RequestDelegateFactory.cs (1)
797else if (parameter.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType)))
src\Shared\PropertyAsParameterInfo.cs (1)
84if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (1)
277else if (parameter.ParameterInfo.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType) || typeof(FromKeyedServicesAttribute) == a.AttributeType) ||
src\Shared\PropertyAsParameterInfo.cs (1)
84if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiGenerator.cs (1)
430else if (parameter.CustomAttributes.Any(a => typeof(IFromServiceMetadata).IsAssignableFrom(a.AttributeType) || typeof(FromKeyedServicesAttribute) == a.AttributeType) ||
src\Shared\PropertyAsParameterInfo.cs (1)
84if (parameters[i].CustomAttributes.Any(a => a.AttributeType == typeof(AsParametersAttribute)))
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
80else if (p.CustomAttributes.Any())
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
111foreach (var attribute in parameter.CustomAttributes)
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))