1 type derived from InterceptableLocation
Microsoft.CodeAnalysis.CSharp (1)
Utilities\InterceptableLocation.cs (1)
49internal sealed class InterceptableLocation1 : InterceptableLocation
13 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)
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)
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}"""; 180var interceptableLocation = model.GetInterceptableLocation(invocation)!;
SourceGeneration\GeneratorDriverTests.cs (2)
4192record InterceptorInfo(InterceptableLocation locationSpecifier, object data); 4205var locationSpecifier = model.GetInterceptableLocation((InvocationExpressionSyntax)context.Node, token);