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. 56internal override bool IsInsideNameof => IsNameofOperator || base.IsInsideNameof; 58protected override SyntaxNode? EnclosingNameofArgument => IsNameofOperator ? _nameofArgument : base.EnclosingNameofArgument; 63if (_withParametersBinder is not null && IsNameofOperator) 77if (_withTypeParametersBinder is not null && IsNameofOperator) 94if (_withParametersBinder is not null && IsNameofOperator) 98if (_withTypeParametersBinder is not null && IsNameofOperator)