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)
123
return new
SyntaxDiagnosticInfo
(offset, width, code, args);
Parser\SyntaxParser.cs (4)
662
return new
SyntaxDiagnosticInfo
(offset, width, code, SyntaxFacts.GetText(expected));
666
return new
SyntaxDiagnosticInfo
(offset, width, code, /*unused*/string.Empty, SyntaxFacts.GetText(actual));
880
return new
SyntaxDiagnosticInfo
(offset, width, code, args);
885
return new
SyntaxDiagnosticInfo
(node.GetLeadingTriviaWidth(), node.Width, code, args);