8 references to SyntaxDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (8)
Errors\SyntaxDiagnosticInfo.cs (2)
25: this(offset, width, code, Array.Empty<object>()) 30: this(0, 0, code, args)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
21: base(offset, width, ErrorCode.WRN_XMLParseError, args)
Parser\AbstractLexer.cs (1)
123return new SyntaxDiagnosticInfo(offset, width, code, args);
Parser\SyntaxParser.cs (4)
662return new SyntaxDiagnosticInfo(offset, width, code, SyntaxFacts.GetText(expected)); 666return new SyntaxDiagnosticInfo(offset, width, code, /*unused*/string.Empty, SyntaxFacts.GetText(actual)); 880return new SyntaxDiagnosticInfo(offset, width, code, args); 885return new SyntaxDiagnosticInfo(node.GetLeadingTriviaWidth(), node.Width, code, args);