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);
2057
var colon = this.
TryEatToken
(SyntaxKind.ColonToken);
2240
this.
TryEatToken
(SyntaxKind.QuestionToken)),
3769
return
TryEatToken
(SyntaxKind.CheckedKeyword);
4701
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);
5568
semicolon =
TryEatToken
(SyntaxKind.SemicolonToken);
7108
lastTokenOfType =
TryEatToken
(SyntaxKind.IdentifierToken) ?? lastTokenOfType;
7119
lastTokenOfType =
TryEatToken
(SyntaxKind.CloseBracketToken) ?? lastTokenOfType;
7693
TryEatToken
(SyntaxKind.GreaterThanToken) ?? SyntaxFactory.MissingToken(SyntaxKind.GreaterThanToken)));
12261
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);
13432
var equalsToken =
TryEatToken
(SyntaxKind.EqualsToken);