28 references to IsTrueIdentifier
Microsoft.CodeAnalysis.CSharp (28)
Parser\LanguageParser.cs (26)
1051if (this.IsTrueIdentifier()) 1186return this.IsTrueIdentifier(); 2143var name = !IsTrueIdentifier() 2230return (this.CurrentToken.ContextualKind == SyntaxKind.AllowsKeyword && PeekToken(1).Kind == SyntaxKind.RefKeyword) || this.IsTrueIdentifier(); 4636return this.IsTrueIdentifier(); 5309if (!isFirst && this.IsTrueIdentifier()) 5635return this.CurrentToken.Kind == SyntaxKind.OpenBracketToken || this.IsTrueIdentifier(); 5826return IsTrueIdentifier(); 6835return IsPredefinedType(tk) || this.IsTrueIdentifier(); 6855if (this.CurrentToken.Kind != SyntaxKind.IdentifierToken || !this.IsTrueIdentifier()) 7051if (IsTrueIdentifier()) 7069if (IsTrueIdentifier()) 7640IsTrueIdentifier() ? this.ParseIdentifierToken() : null); 7666if (IsTrueIdentifier() || this.CurrentToken.Kind == SyntaxKind.ColonColonToken) 7948isCollectionExpression = ContainsErrorDiagnostic(returnType) || !IsTrueIdentifier(); 8157return this.PeekToken(1).Kind == SyntaxKind.ColonToken && this.IsTrueIdentifier(); 8844return IsTrueIdentifier(); 9026if (this.IsTrueIdentifier()) 9244this.IsTrueIdentifier(); 10023Debug.Assert(this.IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.ColonToken); 10662return this.IsTrueIdentifier() || this.CurrentToken.ContextualKind == SyntaxKind.FromKeyword; 11503if (this.IsTrueIdentifier()) 11746if (!IsTrueIdentifier()) 12283var identifier = this.IsTrueIdentifier() ? this.EatToken() : CreateMissingIdentifierToken(); 12829return IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.EqualsToken; 13426return this.IsTrueIdentifier();
Parser\LanguageParser_Patterns.cs (2)
126bool result = this.IsTrueIdentifier(); 379return this.IsTrueIdentifier() && this.IsValidPatternDesignation(whenIsKeyword)