15 references to TryEatToken
Microsoft.CodeAnalysis.CSharp (15)
Parser\DocumentationCommentParser.cs (1)
1132
return
TryEatToken
(SyntaxKind.CheckedKeyword);
Parser\LanguageParser.cs (14)
322
this.
TryEatToken
(SyntaxKind.SemicolonToken));
964
var staticToken = this.
TryEatToken
(SyntaxKind.StaticKeyword);
965
var unsafeToken = this.
TryEatToken
(SyntaxKind.UnsafeKeyword);
1833
semicolon =
TryEatToken
(SyntaxKind.SemicolonToken);
2060
var colon = this.
TryEatToken
(SyntaxKind.ColonToken);
2258
this.
TryEatToken
(SyntaxKind.QuestionToken)),
3787
return
TryEatToken
(SyntaxKind.CheckedKeyword);
4719
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);
5586
semicolon =
TryEatToken
(SyntaxKind.SemicolonToken);
7126
lastTokenOfType =
TryEatToken
(SyntaxKind.IdentifierToken) ?? lastTokenOfType;
7137
lastTokenOfType =
TryEatToken
(SyntaxKind.CloseBracketToken) ?? lastTokenOfType;
7711
TryEatToken
(SyntaxKind.GreaterThanToken) ?? SyntaxFactory.MissingToken(SyntaxKind.GreaterThanToken)));
12285
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);
13456
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);