37 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.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)
47var nodes = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().SelectAsArray(node => model.GetInterceptableLocation(node)); 218var interceptableLocation = model.GetInterceptableLocation(invocation)!; 2023var location = model.GetInterceptableLocation(invocation)!; 2326var location = model.GetInterceptableLocation(invocation)!; 5273var location = model.GetInterceptableLocation(node)!; 6191var locationSpecifier = model.GetInterceptableLocation(node)!; 7337var locationSpecifier = model.GetInterceptableLocation(node)!; 7391var locationSpecifier = model.GetInterceptableLocation(node); 7399Assert.NotSame(locationSpecifier, model.GetInterceptableLocation(node)); 7400Assert.Equal(locationSpecifier, model.GetInterceptableLocation(node)); 7401Assert.Equal(locationSpecifier.GetHashCode(), model.GetInterceptableLocation(node)!.GetHashCode()); 7408var otherLocation = model.GetInterceptableLocation(otherNode)!; 7539var locationSpecifier = model.GetInterceptableLocation(node)!; 7580var locationSpecifier = model.GetInterceptableLocation(node)!; 7626var locationSpecifier = model.GetInterceptableLocation(node)!; 7672var locationSpecifier = model.GetInterceptableLocation(node); 7723var locationSpecifier = model.GetInterceptableLocation(node)!; 7748var locationSpecifier = model.GetInterceptableLocation(node)!; 7794var locationSpecifier = model.GetInterceptableLocation(node)!; 7876var locationSpecifier = model.GetInterceptableLocation(node)!; 7920var locationSpecifier = model.GetInterceptableLocation(node)!; 7963var locationSpecifier = model.GetInterceptableLocation(node)!; 8016var locationSpecifier = model.GetInterceptableLocation(node)!; 8062var locationSpecifier = model.GetInterceptableLocation(node)!; 8121var locationSpecifier = model.GetInterceptableLocation(node)!; 8181var locationSpecifier = model.GetInterceptableLocation(node)!; 8236var locationSpecifier = model.GetInterceptableLocation(node)!; 8291var locationSpecifier = model.GetInterceptableLocation(node)!; 8341var locationSpecifier = model.GetInterceptableLocation(node)!; 8399var locationSpecifier = model.GetInterceptableLocation(node)!; 8463var locationSpecifier = model.GetInterceptableLocation(node)!;
SourceGeneration\GeneratorDriverTests.cs (1)
4337var 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);