16 instantiations of XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (15)
Errors\XmlSyntaxDiagnosticInfo.cs (2)
15ObjectBinder.RegisterTypeReader(typeof(XmlSyntaxDiagnosticInfo), r => new XmlSyntaxDiagnosticInfo(r)); 38return 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 (10)
120allRemainderText = WithAdditionalDiagnostics(allRemainderText, new XmlSyntaxDiagnosticInfo(0, 1, code)); 702colon = WithAdditionalDiagnostics(colon, new XmlSyntaxDiagnosticInfo(offset, width, XmlParseErrorCode.XML_InvalidWhitespace)); 715id = WithAdditionalDiagnostics(id, new XmlSyntaxDiagnosticInfo(offset, width, XmlParseErrorCode.XML_InvalidWhitespace)); 808return new XmlSyntaxDiagnosticInfo(offset, length, XmlParseErrorCode.XML_ExpectedIdentifier); 811return new XmlSyntaxDiagnosticInfo(offset, length, XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual)); 829return new XmlSyntaxDiagnosticInfo(XmlParseErrorCode.XML_ExpectedIdentifier); 832return new XmlSyntaxDiagnosticInfo(XmlParseErrorCode.XML_InvalidToken, SyntaxFacts.GetText(actual)); 838return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.Width, code)); 843return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.Width, code, args)); 848return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.Width, code, args));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
122verifyWithSeverity(new XmlSyntaxDiagnosticInfo(XmlParseErrorCode.XML_EndTagExpected, args));
5 references to XmlSyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (5)
Errors\XmlSyntaxDiagnosticInfo.cs (2)
15ObjectBinder.RegisterTypeReader(typeof(XmlSyntaxDiagnosticInfo), r => new XmlSyntaxDiagnosticInfo(r)); 31private 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)