22 references to ERR_Syntax
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Invocation.vb (1)
173
target = ReportDiagnosticAndProduceBadExpression(diagnostics, node, ERRID.
ERR_Syntax
).MakeCompilerGenerated()
Errors\ErrorFacts.vb (1)
81
ERRID.
ERR_Syntax
,
Parser\BlockContexts\DeclarationContext.vb (1)
364
Dim ErrorId As ERRID = ERRID.
ERR_Syntax
Parser\ParseConditional.vb (2)
203
hashToken = hashToken.AddTrailingSyntax(endKeyword, ERRID.
ERR_Syntax
)
241
equalsToken = equalsToken.AddLeadingSyntax(unexpected, ERRID.
ERR_Syntax
)
Parser\ParseInterpolatedString.vb (3)
82
content = AddLeadingSyntax(content, _pool.ToListAndFree(skipped), ERRID.
ERR_Syntax
)
90
doubleQuoteToken = AddLeadingSyntax(doubleQuoteToken, _pool.ToListAndFree(skipped), ERRID.
ERR_Syntax
)
212
formatStringToken = ReportSyntaxError(formatStringToken, ERRID.
ERR_Syntax
)
Parser\Parser.vb (3)
764
Return ReportUnrecognizedStatementError(ERRID.
ERR_Syntax
)
1241
Return ReportUnrecognizedStatementError(ERRID.
ERR_Syntax
)
6090
Return node.AddTrailingSyntax(b.ToList(), ERRID.
ERR_Syntax
)
Parser\ParseStatement.vb (4)
624
expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.
ERR_Syntax
)
665
fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.
ERR_Syntax
)
898
intLiteral = ReportSyntaxError(intLiteral, ERRID.
ERR_Syntax
)
1716
optionalWhileOrUntilClause = ReportSyntaxError(ResyncAt(clause), ERRID.
ERR_Syntax
)
Parser\ParseVerify.vb (1)
142
Return ERRID.
ERR_Syntax
Parser\ParseXml.vb (3)
819
greaterThan = AddLeadingSyntax(greaterThan, unexpectedSyntax, ERRID.
ERR_Syntax
)
854
result = AddLeadingSyntax(result, unexpectedSyntax, ERRID.
ERR_Syntax
)
2039
endXmlEmbedded = AddLeadingSyntax(endXmlEmbedded, unexpectedSyntax, ERRID.
ERR_Syntax
)
Scanner\Scanner.vb (2)
1996
Return MakeBadToken(precedingTrivia, here, ERRID.
ERR_Syntax
)
2124
result = DirectCast(result.AddError(ErrorFactory.ErrorInfo(ERRID.
ERR_Syntax
)), SyntaxToken)
Scanner\XmlTokenFactories.vb (1)
349
Return XmlMakeBadToken(SyntaxSubKind.LessThanExclamationToken, precedingTrivia, 2, If(state = ScannerState.DocType, ERRID.ERR_DTDNotSupported, ERRID.
ERR_Syntax
))