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