3 references to TryGetInterceptor
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpSemanticModel.cs (1)
5193if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor))
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
145if (this._compilation.TryGetInterceptor(nameSyntax) is not var (attributeLocation, interceptor))
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
38if (node.InterceptableNameSyntax is { } nameSyntax && this._compilation.TryGetInterceptor(nameSyntax) is var (attributeLocation, _))