37 references to VerifyExpectedToken
Microsoft.CodeAnalysis.VisualBasic (37)
Parser\ParseConditional.vb (15)
239
VerifyExpectedToken
(SyntaxKind.EqualsToken, equalsToken)
263
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, title)
281
VerifyExpectedToken
(SyntaxKind.OpenParenToken, openParen)
284
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, externalSource)
287
VerifyExpectedToken
(SyntaxKind.CommaToken, comma)
290
VerifyExpectedToken
(SyntaxKind.IntegerLiteralToken, externalSourceFileStartLine)
292
VerifyExpectedToken
(SyntaxKind.CloseParenToken, closeParen)
328
VerifyExpectedToken
(SyntaxKind.OpenParenToken, openParen)
331
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, externalSource)
334
VerifyExpectedToken
(SyntaxKind.CommaToken, firstComma)
337
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, guid)
347
VerifyExpectedToken
(SyntaxKind.CommaToken, secondComma)
350
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, checksum)
368
VerifyExpectedToken
(SyntaxKind.CloseParenToken, closeParen)
461
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, file)
Parser\ParseExpression.vb (3)
742
VerifyExpectedToken
(SyntaxKind.OpenParenToken, openParen, ScannerState.Element)
751
VerifyExpectedToken
(SyntaxKind.CloseParenToken, closeParen)
1196
VerifyExpectedToken
(SyntaxKind.GreaterThanToken, greaterToken)
Parser\Parser.vb (3)
4743
If
VerifyExpectedToken
(SyntaxKind.LessThanToken, lessToken, ScannerState.Element) Then
4769
VerifyExpectedToken
(SyntaxKind.GreaterThanToken, greaterToken, ScannerState.Element)
5189
If
VerifyExpectedToken
(SyntaxKind.LibKeyword, libKeyword) Then
Parser\ParseStatement.vb (3)
1001
VerifyExpectedToken
(SyntaxKind.NextKeyword, nextKeyword)
1630
VerifyExpectedToken
(SyntaxKind.CommaToken, comma)
1652
VerifyExpectedToken
(SyntaxKind.EqualsToken, equals)
Parser\ParseTerminal.vb (1)
198
VerifyExpectedToken
(SyntaxKind.StringLiteralToken, stringToken)
Parser\ParseXml.vb (12)
111
VerifyExpectedToken
(SyntaxKind.XmlNameToken, nameToken, ScannerState.Element)
230
VerifyExpectedToken
(SyntaxKind.QuestionGreaterThanToken, endPrologue, ScannerState.Content)
272
VerifyExpectedToken
(SyntaxKind.XmlNameToken, name, ScannerState.Element)
285
If Not
VerifyExpectedToken
(SyntaxKind.EqualsToken, equals, ScannerState.Element) Then
377
VerifyExpectedToken
(SyntaxKind.XmlNameToken, name, ScannerState.DocType)
385
VerifyExpectedToken
(SyntaxKind.GreaterThanToken, greaterThan, enclosingState)
876
If Not
VerifyExpectedToken
(SyntaxKind.LessThanSlashToken, beginEndElement, ScannerState.EndElement) Then
915
VerifyExpectedToken
(SyntaxKind.GreaterThanToken, greaterToken, nextState)
1839
If Not
VerifyExpectedToken
(SyntaxKind.XmlNameToken, name, ScannerState.StartProcessingInstruction) Then
1874
VerifyExpectedToken
(SyntaxKind.QuestionGreaterThanToken, endProcessingInstruction, nextState)
1903
VerifyExpectedToken
(SyntaxKind.EndCDataToken, endCData, nextState)
1932
VerifyExpectedToken
(SyntaxKind.MinusMinusGreaterThanToken, endComment, nextState)