2 overrides of EnclosingNameofArgument
Microsoft.CodeAnalysis.CSharp (2)
Binder\BuckStopsHereBinder.cs (1)
64protected override SyntaxNode? EnclosingNameofArgument => null;
Binder\NameofBinder.cs (1)
50protected override SyntaxNode? EnclosingNameofArgument => IsNameofOperator ? _nameofArgument : base.EnclosingNameofArgument;
7 references to EnclosingNameofArgument
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.cs (1)
77protected virtual SyntaxNode? EnclosingNameofArgument => NextRequired.EnclosingNameofArgument;
Binder\Binder_Expressions.cs (4)
581if (IsEarlyAttributeBinder && result.Kind == BoundKind.MethodGroup && (!IsInsideNameof || EnclosingNameofArgument != node)) 2262if (!IsInsideNameof || (EnclosingNameofArgument != node && !node.IsFeatureEnabled(MessageID.IDS_FeatureInstanceMemberInNameof))) 7852else if (this.EnclosingNameofArgument == node) 8371if (expression == EnclosingNameofArgument)
Binder\Binder_Invocation.cs (1)
2209if (binder.EnclosingNameofArgument == node.ArgumentList.Arguments[0].Expression)
Binder\NameofBinder.cs (1)
50protected override SyntaxNode? EnclosingNameofArgument => IsNameofOperator ? _nameofArgument : base.EnclosingNameofArgument;