7 references to IsNameofOperator
Microsoft.CodeAnalysis.CSharp (7)
Binder\NameofBinder.cs (7)
13
/// If a proper method named "nameof" exists in the outer scopes, <see cref="
IsNameofOperator
"/> is false and this binder does nothing.
56
internal override bool IsInsideNameof =>
IsNameofOperator
|| base.IsInsideNameof;
58
protected override SyntaxNode? EnclosingNameofArgument =>
IsNameofOperator
? _nameofArgument : base.EnclosingNameofArgument;
63
if (_withParametersBinder is not null &&
IsNameofOperator
)
77
if (_withTypeParametersBinder is not null &&
IsNameofOperator
)
94
if (_withParametersBinder is not null &&
IsNameofOperator
)
98
if (_withTypeParametersBinder is not null &&
IsNameofOperator
)