35 references to ResyncAt
Microsoft.CodeAnalysis.VisualBasic (35)
Parser\ParseConditional.vb (1)
235
unexpected =
ResyncAt
({SyntaxKind.EqualsToken})
Parser\ParseExpression.vb (2)
1335
Dim trash =
ResyncAt
({SyntaxKind.CloseParenToken})
1450
Dim skipped =
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node
Parser\ParseQuery.vb (9)
308
varName = varName.AddTrailingSyntax(
ResyncAt
({peek}))
352
AsClause = AsClause.AddTrailingSyntax(
ResyncAt
({peek}))
381
source = source.AddTrailingSyntax(
ResyncAt
({peek}))
429
varName = varName.AddTrailingSyntax(
ResyncAt
({peek}))
474
AsClause = AsClause.AddTrailingSyntax(
ResyncAt
({peek}))
501
source = source.AddTrailingSyntax(
ResyncAt
({peek}))
782
varName = varName.AddTrailingSyntax(
ResyncAt
({peek}))
822
AsClause = AsClause.AddTrailingSyntax(
ResyncAt
({peek}))
847
source = source.AddTrailingSyntax(
ResyncAt
({peek}))
Parser\Parser.vb (19)
1453
identifier = identifier.AddTrailingSyntax(
ResyncAt
({SyntaxKind.AsKeyword}))
1509
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.EqualsToken}))
1583
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OfKeyword, SyntaxKind.OpenParenToken}))
2407
skipped =
ResyncAt
({SyntaxKind.CloseBraceToken})
2615
Dim skipped =
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken})
2950
Dim skipped =
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node
3687
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.OfKeyword}))
3837
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword}))
3979
operatorToken = operatorToken.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword}))
4141
Dim unexpected =
ResyncAt
({SyntaxKind.AsKeyword, SyntaxKind.ImplementsKeyword, SyntaxKind.EqualsToken})
4496
param = param.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}))
4512
param = param.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}), ERRID.ERR_InvalidParameterSyntax)
4817
importsClause = importsClause.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken}))
5067
name = name.AddTrailingSyntax(
ResyncAt
({SyntaxKind.LibKeyword, SyntaxKind.OpenParenToken}))
5078
unexpected =
ResyncAt
({SyntaxKind.LibKeyword})
5080
unexpected =
ResyncAt
({SyntaxKind.AliasKeyword, SyntaxKind.OpenParenToken})
5290
asKeyword = asKeyword.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}))
5374
closeParen = closeParen.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions)
5376
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions)
Parser\ParseScan.vb (1)
319
Return syntax.AddTrailingSyntax(
ResyncAt
(resyncTokens).Node)
Parser\ParseStatement.vb (3)
623
expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax)
664
fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax)
682
toValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}))