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