12 instantiations of XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (12)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
33
return new
XmlSyntaxDiagnosticInfo
(this, severity);
Parser\AbstractLexer.cs (3)
129
return new
XmlSyntaxDiagnosticInfo
(offset, width, code, args);
149
return new
XmlSyntaxDiagnosticInfo
(0, 0, code);
154
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));
824
return new
XmlSyntaxDiagnosticInfo
(XmlParseErrorCode.XML_ExpectedIdentifier);
827
return new
XmlSyntaxDiagnosticInfo
(XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual));
843
return WithAdditionalDiagnostics(node, new
XmlSyntaxDiagnosticInfo
(0, node.Width, code, args));
4 references to XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (4)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
26
private XmlSyntaxDiagnosticInfo(
XmlSyntaxDiagnosticInfo
original, DiagnosticSeverity severity) : base(original, severity)
Parser\AbstractLexer.cs (3)
126
protected
XmlSyntaxDiagnosticInfo
MakeError(int position, int width, XmlParseErrorCode code, params object[] args)
147
protected static
XmlSyntaxDiagnosticInfo
MakeError(XmlParseErrorCode code)
152
protected static
XmlSyntaxDiagnosticInfo
MakeError(XmlParseErrorCode code, params object[] args)