1 type derived from InterceptableLocation
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
47internal sealed class InterceptableLocation1 : InterceptableLocation
38 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.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (2)
5202public InterceptableLocation? GetInterceptableLocation(InvocationExpressionSyntax node, CancellationToken cancellationToken) 5214internal InterceptableLocation GetInterceptableLocationInternal(SyntaxNode nameSyntax, CancellationToken cancellationToken)
CSharpExtensions.cs (2)
1647public static InterceptableLocation? GetInterceptableLocation(this SemanticModel? semanticModel, InvocationExpressionSyntax node, CancellationToken cancellationToken = default) 1657public static string GetInterceptsLocationAttributeSyntax(this InterceptableLocation location)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (32)
Semantics\InterceptorsTests.cs (30)
165var interceptableLocation = model.GetInterceptableLocation(invocation)!; 1876var location = model.GetInterceptableLocation(invocation)!; 1977var location1 = model.GetInterceptableLocationInternal(node1, cancellationToken: default); 1980var location2 = model.GetInterceptableLocationInternal(node2, cancellationToken: default); 1983var location3 = model.GetInterceptableLocationInternal(node3, cancellationToken: default); 2154var location = model.GetInterceptableLocation(invocation)!; 5675var locationSpecifier = model.GetInterceptableLocation(node)!; 6812var locationSpecifier = model.GetInterceptableLocation(node)!; 6866var locationSpecifier = model.GetInterceptableLocation(node); 6883var otherLocation = model.GetInterceptableLocation(otherNode)!; 7014var locationSpecifier = model.GetInterceptableLocation(node)!; 7055var locationSpecifier = model.GetInterceptableLocation(node)!; 7101var locationSpecifier = model.GetInterceptableLocation(node)!; 7147var locationSpecifier = model.GetInterceptableLocation(node); 7198var locationSpecifier = model.GetInterceptableLocation(node)!; 7223var locationSpecifier = model.GetInterceptableLocation(node)!; 7269var locationSpecifier = model.GetInterceptableLocation(node)!; 7310var locationSpecifier = model.GetInterceptableLocationInternal(node.Name, cancellationToken: default)!; 7351var locationSpecifier = model.GetInterceptableLocation(node)!; 7395var locationSpecifier = model.GetInterceptableLocation(node)!; 7438var locationSpecifier = model.GetInterceptableLocation(node)!; 7491var locationSpecifier = model.GetInterceptableLocation(node)!; 7537var locationSpecifier = model.GetInterceptableLocation(node)!; 7596var locationSpecifier = model.GetInterceptableLocation(node)!; 7656var locationSpecifier = model.GetInterceptableLocation(node)!; 7711var locationSpecifier = model.GetInterceptableLocation(node)!; 7766var locationSpecifier = model.GetInterceptableLocation(node)!; 7816var locationSpecifier = model.GetInterceptableLocation(node)!; 7874var locationSpecifier = model.GetInterceptableLocation(node)!; 7938var locationSpecifier = model.GetInterceptableLocation(node)!;
SourceGeneration\GeneratorDriverTests.cs (2)
4171record InterceptorInfo(InterceptableLocation locationSpecifier, object data); 4184var locationSpecifier = model.GetInterceptableLocation((InvocationExpressionSyntax)context.Node, token);