1 type derived from InterceptableLocation
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
51internal sealed class InterceptableLocation1 : InterceptableLocation
24 references to InterceptableLocation
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
RequestDelegateGenerator.cs (1)
61foreach (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)
20internal static string GenerateXmlCommentSupportSource(string commentsFromXmlFile, string? commentsFromCompilation, ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations) => $$""" 416internal static string GenerateAddOpenApiInterceptions(ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations) 422foreach (var location in locations) 549ImmutableArray<(AddOpenApiInvocation Source, int Index, ImmutableArray<InterceptableLocation?> Elements)> groupedAddOpenApiInvocations)
XmlCommentGenerator.Parser.cs (1)
133var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocationExpression, cancellationToken);
Microsoft.CodeAnalysis.CSharp (8)
Compilation\CSharpSemanticModel.cs (2)
5209public InterceptableLocation? GetInterceptableLocation(InvocationExpressionSyntax node, CancellationToken cancellationToken) 5221internal InterceptableLocation GetInterceptableLocationInternal(SyntaxNode nameSyntax, CancellationToken cancellationToken)
CSharpExtensions.cs (2)
1649public static InterceptableLocation? GetInterceptableLocation(this SemanticModel? semanticModel, InvocationExpressionSyntax node, CancellationToken cancellationToken = default) 1660public 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.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
EndToEndTests.cs (2)
666var location = locations[i]; 695ImmutableArray<InterceptableLocation> getInterceptableLocations(CSharpTestSource source)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\InterceptorsTests.cs (3)
40private static ImmutableArray<InterceptableLocation?> GetInterceptableLocations(CSharpTestSource source) 50private static string GetAttributeArgs(InterceptableLocation location) => $@"{location.Version}, ""{location.Data}"""; 217var interceptableLocation = model.GetInterceptableLocation(invocation)!;
SourceGeneration\GeneratorDriverTests.cs (2)
4322record InterceptorInfo(InterceptableLocation locationSpecifier, object data); 4335var locationSpecifier = model.GetInterceptableLocation((InvocationExpressionSyntax)context.Node, token);
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
88 var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocation, t);