35 references to ResyncAt
Microsoft.CodeAnalysis.VisualBasic (35)
Parser\ParseConditional.vb (1)
235
unexpected =
ResyncAt
({SyntaxKind.EqualsToken})
Parser\ParseExpression.vb (2)
1337
Dim trash =
ResyncAt
({SyntaxKind.CloseParenToken})
1452
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)
1454
identifier = identifier.AddTrailingSyntax(
ResyncAt
({SyntaxKind.AsKeyword}))
1510
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.EqualsToken}))
1584
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OfKeyword, SyntaxKind.OpenParenToken}))
2408
skipped =
ResyncAt
({SyntaxKind.CloseBraceToken})
2616
Dim skipped =
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken})
2951
Dim skipped =
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node
3688
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.OfKeyword}))
3838
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword}))
3980
operatorToken = operatorToken.AddTrailingSyntax(
ResyncAt
({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword}))
4142
Dim unexpected =
ResyncAt
({SyntaxKind.AsKeyword, SyntaxKind.ImplementsKeyword, SyntaxKind.EqualsToken})
4497
param = param.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}))
4513
param = param.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}), ERRID.ERR_InvalidParameterSyntax)
4818
importsClause = importsClause.AddTrailingSyntax(
ResyncAt
({SyntaxKind.CommaToken}))
5068
name = name.AddTrailingSyntax(
ResyncAt
({SyntaxKind.LibKeyword, SyntaxKind.OpenParenToken}))
5079
unexpected =
ResyncAt
({SyntaxKind.LibKeyword})
5081
unexpected =
ResyncAt
({SyntaxKind.AliasKeyword, SyntaxKind.OpenParenToken})
5291
asKeyword = asKeyword.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}))
5375
closeParen = closeParen.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions)
5377
ident = ident.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions)
Parser\ParseScan.vb (1)
319
Return syntax.AddTrailingSyntax(
ResyncAt
(resyncTokens).Node)
Parser\ParseStatement.vb (3)
624
expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax)
665
fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax)
683
toValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(
ResyncAt
({SyntaxKind.ToKeyword}))