7 references to MayBeNameofOperator
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Invocation.cs (2)
253
if (node.Expression is MemberAccessExpressionSyntax { Expression: InvocationExpressionSyntax receiver, RawKind: (int)SyntaxKind.SimpleMemberAccessExpression } && !receiver.
MayBeNameofOperator
())
2206
if (node.
MayBeNameofOperator
())
Binder\LocalBinderFactory.cs (2)
216
if (node.
MayBeNameofOperator
())
277
if (node.Expression is MemberAccessExpressionSyntax { Expression: InvocationExpressionSyntax receiver } && !receiver.
MayBeNameofOperator
())
Compilation\MemberSemanticModel.cs (1)
341
else if ((current is InvocationExpressionSyntax invocation) && invocation.
MayBeNameofOperator
())
Compiler\MethodCompiler.cs (1)
2147
if (id.Parent is InvocationExpressionSyntax invocation && invocation.Expression == id && invocation.
MayBeNameofOperator
())
Syntax\SyntaxNodeExtensions.cs (1)
83
case SyntaxKind.InvocationExpression when ((InvocationExpressionSyntax)syntax).
MayBeNameofOperator
():