46 references to MissingToken
Microsoft.CodeAnalysis.CSharp (46)
Parser\DocumentationCommentParser.cs (9)
239
endName = SyntaxFactory.XmlName(prefix: null, localName: SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken));
240
greaterThan = SyntaxFactory.
MissingToken
(SyntaxKind.GreaterThanToken);
463
SyntaxFactory.
MissingToken
(SyntaxKind.DoubleQuoteToken),
465
SyntaxFactory.
MissingToken
(SyntaxKind.DoubleQuoteToken));
598
endQuote = SyntaxFactory.
MissingToken
(quoteKind);
665
var quote = SyntaxFactory.
MissingToken
(SyntaxKind.DoubleQuoteToken);
995
operatorToken = SyntaxFactory.
MissingToken
(SyntaxKind.PlusToken);
1046
operatorToken = SyntaxFactory.
MissingToken
(SyntaxKind.PlusToken);
1089
operatorToken = SyntaxFactory.
MissingToken
(SyntaxKind.PlusToken);
Parser\LanguageParser.cs (32)
528
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken), ErrorCode.ERR_RbraceExpected);
970
staticToken = SyntaxFactory.
MissingToken
(SyntaxKind.StaticKeyword);
999
semicolon = SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken);
1824
closeBrace = SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken);
1875
recordModifier = SyntaxFactory.
MissingToken
(misplacedToken.Kind);
2561
this.AddError(SyntaxFactory.
MissingToken
(SyntaxKind.VoidKeyword), ErrorCode.ERR_MemberNeedsType));
3644
SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken),
3646
SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken)),
3649
semicolonToken: SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken));
4822
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
4824
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken)),
5613
return SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken);
6723
var newToken = SyntaxFactory.
MissingToken
(expectedKind);
7573
list.AddSeparator(SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken));
7644
var lessThanTokenError = WithAdditionalDiagnostics(SyntaxFactory.
MissingToken
(SyntaxKind.LessThanToken), GetExpectedTokenError(SyntaxKind.LessThanToken, SyntaxKind.None));
7659
TryEatToken(SyntaxKind.GreaterThanToken) ?? SyntaxFactory.
MissingToken
(SyntaxKind.GreaterThanToken)));
7818
static @this => SyntaxFactory.EmptyStatement(attributeLists: default, SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken)));
8626
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
8934
SyntaxFactory.
MissingToken
(SyntaxKind.FinallyKeyword),
8948
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
8950
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken));
9693
openParen = SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken);
9695
closeParen = SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken);
9696
openBrace = SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken);
9721
openParen = SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken);
9723
closeParen = SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken);
10509
semicolon = SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken);
11266
SyntaxFactory.
MissingToken
(SyntaxKind.ColonToken),
11267
_syntaxFactory.IdentifierName(SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken)));
12328
list.AddSeparator(SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken));
12811
SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken));
13171
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken)),
Parser\SyntaxParser.cs (3)
555
var token = SyntaxFactory.
MissingToken
(expected);
567
var token = SyntaxFactory.
MissingToken
(expected);
587
return SyntaxFactory.
MissingToken
(kind);
Syntax\SyntaxFactory.cs (2)
1898
InternalSyntax.SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken),
1900
InternalSyntax.SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken),