24 references to ERR_ExpectedXmlName
Microsoft.CodeAnalysis.VisualBasic (12)
Errors\ErrorFacts.vb (1)
652
ERRID.
ERR_ExpectedXmlName
,
Parser\ParseExpression.vb (4)
1055
atToken = ReportSyntaxError(atToken, ERRID.
ERR_ExpectedXmlName
)
1071
atToken = ReportSyntaxError(atToken, ERRID.
ERR_ExpectedXmlName
)
1127
ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, missingName), ERRID.
ERR_ExpectedXmlName
))
1219
Return ReportSyntaxError(SyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.
ERR_ExpectedXmlName
)
Parser\ParseVerify.vb (1)
136
Return ERRID.
ERR_ExpectedXmlName
Parser\ParseXml.vb (6)
233
endPrologue = endPrologue.AddLeadingSyntax(unexpected, ERRID.
ERR_ExpectedXmlName
)
726
ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.
ERR_ExpectedXmlName
),
1566
localName = ReportSyntaxError(localName, ERRID.
ERR_ExpectedXmlName
)
1570
localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.
ERR_ExpectedXmlName
)
1637
localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.
ERR_ExpectedXmlName
)
1656
name = ReportSyntaxError(name, ERRID.
ERR_ExpectedXmlName
)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (12)
Parser\ParseExpression.vb (1)
2152
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "Name"),
Parser\ParseStatements.vb (1)
3460
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "ns5"),
Parser\ParseXml.vb (10)
66
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "x"))
1361
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "b"),
1362
Diagnostic(ERRID.
ERR_ExpectedXmlName
, ""),
1366
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "b"),
1369
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "c"))
3531
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "y"),
4405
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "@").WithLocation(4, 22))
4413
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "@").WithLocation(4, 22))
4421
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "").WithLocation(4, 27))
4429
Diagnostic(ERRID.
ERR_ExpectedXmlName
, "").WithLocation(4, 27))