19 references to ReportSyntaxError
Microsoft.CodeAnalysis.VisualBasic (19)
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)
1480Return ReportSyntaxError(argument, ERRID.ERR_ExpectedNamedArgument,
Parser\Parser.vb (1)
6111Return ReportSyntaxError(node, ERRID.ERR_LanguageVersion, languageVersion.GetErrorName(), featureName, requiredVersion)
Parser\ParseXml.vb (12)
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) 765endElement = ReportSyntaxError(endElement, ERRID.ERR_MismatchedXmlEndTag, prefix, colon, localName) 1677Return ReportSyntaxError(tk, 1685Return ReportSyntaxError(tk, 1847name = 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)