29 references to IsTrueIdentifier
Microsoft.CodeAnalysis.CSharp (29)
Parser\LanguageParser.cs (27)
1058if (this.IsTrueIdentifier()) 1193return this.IsTrueIdentifier(); 2179var name = !IsTrueIdentifier() 2266return (this.CurrentToken.ContextualKind == SyntaxKind.AllowsKeyword && PeekToken(1).Kind == SyntaxKind.RefKeyword) || this.IsTrueIdentifier(); 4834return this.IsTrueIdentifier(); 5522if (!isFirst && this.IsTrueIdentifier()) 5848return this.CurrentToken.Kind == SyntaxKind.OpenBracketToken || this.IsTrueIdentifier(); 6036return IsTrueIdentifier(); 7046return IsPredefinedType(tk) || this.IsTrueIdentifier(); 7066if (this.CurrentToken.Kind != SyntaxKind.IdentifierToken || !this.IsTrueIdentifier()) 7262if (IsTrueIdentifier()) 7280if (IsTrueIdentifier()) 7847IsTrueIdentifier() ? this.ParseIdentifierToken() : null); 7873if (IsTrueIdentifier() || this.CurrentToken.Kind == SyntaxKind.ColonColonToken) 8155isCollectionExpression = ContainsErrorDiagnostic(returnType) || !IsTrueIdentifier(); 8363return this.PeekToken(1).Kind == SyntaxKind.ColonToken && this.IsTrueIdentifier(); 9135return IsTrueIdentifier(); 9317if (this.IsTrueIdentifier()) 9535this.IsTrueIdentifier(); 10314Debug.Assert(this.IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.ColonToken); 10973return this.IsTrueIdentifier() || this.CurrentToken.ContextualKind == SyntaxKind.FromKeyword; 11829if (this.IsTrueIdentifier()) 12070if (!IsTrueIdentifier()) 12604var identifier = this.IsTrueIdentifier() ? this.EatToken() : CreateMissingIdentifierToken(); 13150return IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.EqualsToken; 13155return IsTrueIdentifier() && this.PeekToken(1).Kind is SyntaxKind.EqualsToken or SyntaxKind.ColonToken; 13734return this.IsTrueIdentifier();
Parser\LanguageParser_Patterns.cs (2)
126bool result = this.IsTrueIdentifier(); 379return this.IsTrueIdentifier() && this.IsValidPatternDesignation(whenIsKeyword)