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