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