12 instantiations of XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (12)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
33return new XmlSyntaxDiagnosticInfo(this, severity);
Parser\AbstractLexer.cs (3)
129return new XmlSyntaxDiagnosticInfo(offset, width, code, args); 149return new XmlSyntaxDiagnosticInfo(0, 0, code); 154return new XmlSyntaxDiagnosticInfo(0, 0, code, args);
Parser\DocumentationCommentParser.cs (8)
119allRemainderText = WithAdditionalDiagnostics(allRemainderText, new XmlSyntaxDiagnosticInfo(0, 1, code)); 697colon = WithAdditionalDiagnostics(colon, new XmlSyntaxDiagnosticInfo(offset, width, XmlParseErrorCode.XML_InvalidWhitespace)); 710id = WithAdditionalDiagnostics(id, new XmlSyntaxDiagnosticInfo(offset, width, XmlParseErrorCode.XML_InvalidWhitespace)); 803return new XmlSyntaxDiagnosticInfo(offset, length, XmlParseErrorCode.XML_ExpectedIdentifier); 806return new XmlSyntaxDiagnosticInfo(offset, length, XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual)); 824return new XmlSyntaxDiagnosticInfo(XmlParseErrorCode.XML_ExpectedIdentifier); 827return new XmlSyntaxDiagnosticInfo(XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual)); 843return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.Width, code, args));
4 references to XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (4)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
26private XmlSyntaxDiagnosticInfo(XmlSyntaxDiagnosticInfo original, DiagnosticSeverity severity) : base(original, severity)
Parser\AbstractLexer.cs (3)
126protected XmlSyntaxDiagnosticInfo MakeError(int position, int width, XmlParseErrorCode code, params object[] args) 147protected static XmlSyntaxDiagnosticInfo MakeError(XmlParseErrorCode code) 152protected static XmlSyntaxDiagnosticInfo MakeError(XmlParseErrorCode code, params object[] args)