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)
529
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken), ErrorCode.ERR_RbraceExpected);
971
staticToken = SyntaxFactory.
MissingToken
(SyntaxKind.StaticKeyword);
1000
semicolon = SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken);
1825
closeBrace = SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken);
1876
recordModifier = SyntaxFactory.
MissingToken
(misplacedToken.Kind);
2562
this.AddError(SyntaxFactory.
MissingToken
(SyntaxKind.VoidKeyword), ErrorCode.ERR_MemberNeedsType));
3645
SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken),
3647
SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken)),
3650
semicolonToken: SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken));
4823
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
4825
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken)),
5638
return SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken);
6757
var newToken = SyntaxFactory.
MissingToken
(expectedKind);
7607
list.AddSeparator(SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken));
7678
var lessThanTokenError = WithAdditionalDiagnostics(SyntaxFactory.
MissingToken
(SyntaxKind.LessThanToken), GetExpectedTokenError(SyntaxKind.LessThanToken, SyntaxKind.None));
7693
TryEatToken(SyntaxKind.GreaterThanToken) ?? SyntaxFactory.
MissingToken
(SyntaxKind.GreaterThanToken)));
7852
static @this => SyntaxFactory.EmptyStatement(attributeLists: default, SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken)));
8660
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
8968
SyntaxFactory.
MissingToken
(SyntaxKind.FinallyKeyword),
8982
SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken),
8984
SyntaxFactory.
MissingToken
(SyntaxKind.CloseBraceToken));
9721
openParen = SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken);
9723
closeParen = SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken);
9724
openBrace = SyntaxFactory.
MissingToken
(SyntaxKind.OpenBraceToken);
9749
openParen = SyntaxFactory.
MissingToken
(SyntaxKind.OpenParenToken);
9751
closeParen = SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken);
10550
semicolon = SyntaxFactory.
MissingToken
(SyntaxKind.SemicolonToken);
11307
SyntaxFactory.
MissingToken
(SyntaxKind.ColonToken),
11308
_syntaxFactory.IdentifierName(SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken)));
12369
list.AddSeparator(SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken));
12852
SyntaxFactory.
MissingToken
(SyntaxKind.CloseParenToken));
13212
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),