1 type derived from InterceptableLocation
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
51internal sealed class InterceptableLocation1 : InterceptableLocation
23 references to InterceptableLocation
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
RequestDelegateGenerator.Emitter.cs (2)
18internal static string EmitInterceptorDefinition((Endpoint Source, int Index, ImmutableArray<InterceptableLocation> Elements) endpointWithLocations) 23foreach (var location in endpointWithLocations.Elements)
StaticRouteHandlerModel\Endpoint.cs (1)
106public InterceptableLocation InterceptableLocation { get; }
Microsoft.AspNetCore.OpenApi.SourceGenerators (6)
Helpers\AddOpenApiInvocation.cs (1)
18InterceptableLocation? Location);
XmlCommentGenerator.Emitter.cs (4)
19internal static string GenerateXmlCommentSupportSource(string commentsFromXmlFile, string? commentsFromCompilation, ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations) => $$""" 670internal static string GenerateAddOpenApiInterceptions(ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations) 676foreach (var location in locations) 800ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations)
XmlCommentGenerator.Parser.cs (1)
156var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocationExpression, cancellationToken);
Microsoft.CodeAnalysis.CSharp (8)
Compilation\CSharpSemanticModel.cs (2)
5270public InterceptableLocation? GetInterceptableLocation(InvocationExpressionSyntax node, CancellationToken cancellationToken) 5282internal InterceptableLocation GetInterceptableLocationInternal(SyntaxNode nameSyntax, CancellationToken cancellationToken)
CSharpExtensions.cs (2)
1673public static InterceptableLocation? GetInterceptableLocation(this SemanticModel? semanticModel, InvocationExpressionSyntax node, CancellationToken cancellationToken = default) 1684public static string GetInterceptsLocationAttributeSyntax(this InterceptableLocation location)
Utilities\InterceptableLocation.cs (4)
21public abstract class InterceptableLocation : IEquatable<InterceptableLocation> 44public abstract bool Equals(InterceptableLocation? other); 172return obj is InterceptableLocation other && Equals(other); 184public override bool Equals(InterceptableLocation? obj)
Microsoft.Extensions.Validation.ValidationsGenerator (5)
Emitters\ValidationsGenerator.Emitter.cs (4)
18internal static void Emit(SourceProductionContext context, (ImmutableArray<InterceptableLocation?> AddValidationLocations, ImmutableArray<ValidatableType> ValidatableTypes) emitInputs) 20var locations = emitInputs.AddValidationLocations.OfType<InterceptableLocation>().ToImmutableArray(); 30private static string Emit(ImmutableArray<InterceptableLocation> addValidationLocations, ImmutableArray<ValidatableType> validatableTypes) => $$""" 333private static string EmitAddValidationInterceptorAttributes(ImmutableArray<InterceptableLocation> addValidations)
Parsers\ValidationsGenerator.AddValidation.cs (1)
25internal static InterceptableLocation? TransformAddValidation(GeneratorSyntaxContext context, CancellationToken cancellationToken)
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
111 var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocation, t);