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