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