12 references to XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (12)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
16
:
this
(0, 0, code, args)
Parser\AbstractLexer.cs (3)
132
return new
XmlSyntaxDiagnosticInfo
(offset, width, code, args);
161
return new
XmlSyntaxDiagnosticInfo
(0, 0, code);
166
return new
XmlSyntaxDiagnosticInfo
(0, 0, code, args);
Parser\DocumentationCommentParser.cs (8)
119
allRemainderText = WithAdditionalDiagnostics(allRemainderText, new
XmlSyntaxDiagnosticInfo
(0, 1, code));
697
colon = WithAdditionalDiagnostics(colon, new
XmlSyntaxDiagnosticInfo
(offset, width, XmlParseErrorCode.XML_InvalidWhitespace));
710
id = WithAdditionalDiagnostics(id, new
XmlSyntaxDiagnosticInfo
(offset, width, XmlParseErrorCode.XML_InvalidWhitespace));
803
return new
XmlSyntaxDiagnosticInfo
(offset, length, XmlParseErrorCode.XML_ExpectedIdentifier);
806
return new
XmlSyntaxDiagnosticInfo
(offset, length, XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual));
833
return WithAdditionalDiagnostics(node, new
XmlSyntaxDiagnosticInfo
(0, node.Width, code));
838
return WithAdditionalDiagnostics(node, new
XmlSyntaxDiagnosticInfo
(0, node.Width, code, args));
843
return WithAdditionalDiagnostics(node, new
XmlSyntaxDiagnosticInfo
(0, node.Width, code, args));