38 references to GetInterceptableLocation
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\Endpoint.cs (1)
24InterceptableLocation = semanticModel.GetInterceptableLocation((InvocationExpressionSyntax)operation.Syntax)!;
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
XmlCommentGenerator.Parser.cs (1)
156var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocationExpression, cancellationToken);
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (1)
UnsafeEvolutionTests.cs (1)
4947var interceptableLocation = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().Select(node => model.GetInterceptableLocation(node)).Single()!;
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
701var nodes = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().SelectAsArray(node => model.GetInterceptableLocation(node));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (32)
Semantics\InterceptorsTests.cs (31)
38var nodes = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().SelectAsArray(node => model.GetInterceptableLocation(node)); 209var interceptableLocation = model.GetInterceptableLocation(invocation)!; 2014var location = model.GetInterceptableLocation(invocation)!; 2317var location = model.GetInterceptableLocation(invocation)!; 5264var location = model.GetInterceptableLocation(node)!; 6182var locationSpecifier = model.GetInterceptableLocation(node)!; 7328var locationSpecifier = model.GetInterceptableLocation(node)!; 7382var locationSpecifier = model.GetInterceptableLocation(node); 7390Assert.NotSame(locationSpecifier, model.GetInterceptableLocation(node)); 7391Assert.Equal(locationSpecifier, model.GetInterceptableLocation(node)); 7392Assert.Equal(locationSpecifier.GetHashCode(), model.GetInterceptableLocation(node)!.GetHashCode()); 7399var otherLocation = model.GetInterceptableLocation(otherNode)!; 7530var locationSpecifier = model.GetInterceptableLocation(node)!; 7571var locationSpecifier = model.GetInterceptableLocation(node)!; 7617var locationSpecifier = model.GetInterceptableLocation(node)!; 7663var locationSpecifier = model.GetInterceptableLocation(node); 7714var locationSpecifier = model.GetInterceptableLocation(node)!; 7739var locationSpecifier = model.GetInterceptableLocation(node)!; 7785var locationSpecifier = model.GetInterceptableLocation(node)!; 7867var locationSpecifier = model.GetInterceptableLocation(node)!; 7911var locationSpecifier = model.GetInterceptableLocation(node)!; 7954var locationSpecifier = model.GetInterceptableLocation(node)!; 8007var locationSpecifier = model.GetInterceptableLocation(node)!; 8053var locationSpecifier = model.GetInterceptableLocation(node)!; 8112var locationSpecifier = model.GetInterceptableLocation(node)!; 8172var locationSpecifier = model.GetInterceptableLocation(node)!; 8227var locationSpecifier = model.GetInterceptableLocation(node)!; 8282var locationSpecifier = model.GetInterceptableLocation(node)!; 8332var locationSpecifier = model.GetInterceptableLocation(node)!; 8390var locationSpecifier = model.GetInterceptableLocation(node)!; 8454var locationSpecifier = model.GetInterceptableLocation(node)!;
SourceGeneration\GeneratorDriverTests.cs (1)
4380var locationSpecifier = model.GetInterceptableLocation((InvocationExpressionSyntax)context.Node, token);
Microsoft.Extensions.Validation.ValidationsGenerator (1)
Parsers\ValidationsGenerator.AddValidation.cs (1)
36return semanticModel.GetInterceptableLocation(node, cancellationToken);
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
111 var interceptableLocation = context.SemanticModel.GetInterceptableLocation(invocation, t);