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