4 references to TryGetInterceptor
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (1)
5204
if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.
TryGetInterceptor
(nameSyntax) is (_, MethodSymbol interceptor))
Lowering\LocalRewriter\LocalRewriter.cs (1)
250
if (this._compilation.
TryGetInterceptor
(nameofIdentiferSyntax) is not null)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
145
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, _))