16 references to ReportSyntaxError
Microsoft.CodeAnalysis.VisualBasic (16)
Parser\BlockContexts\ExecutableStatementContext.vb (2)
51
node = Parser.
ReportSyntaxError
(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
75
node = Parser.
ReportSyntaxError
(node, ERRID.ERR_InvInsideBlock, SyntaxFacts.GetBlockName(BlockKind))
Parser\ParseExpression.vb (1)
1482
Return
ReportSyntaxError
(argument, ERRID.ERR_ExpectedNamedArgument,
Parser\ParseXml.vb (10)
135
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString)
144
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_VersionMustBeFirstInXmlDecl, "", "", optionName.ToString)
148
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_InvalidAttributeValue1, "1.0")
157
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString)
165
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_AttributeOrder, "encoding", "standalone")
181
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_DuplicateXmlAttribute, optionName.ToString)
195
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_InvalidAttributeValue2, "yes", "no")
205
nextOption =
ReportSyntaxError
(nextOption, ERRID.ERR_IllegalAttributeInXmlDecl, "", "", nextOption.Name.ToString)
766
endElement =
ReportSyntaxError
(endElement, ERRID.ERR_MismatchedXmlEndTag, prefix, colon, localName)
1848
name =
ReportSyntaxError
(name, ERRID.ERR_IllegalProcessingInstructionName, name.Text)
Scanner\Directives.vb (3)
350
statement = Parser.
ReportSyntaxError
(statement, err, value.ErrorArgs)
405
statement = Parser.
ReportSyntaxError
(statement, err, value.ErrorArgs)
441
statement = Parser.
ReportSyntaxError
(statement, err, value.ErrorArgs)