7 references to MakeError
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (3)
3900
SyntaxDiagnosticInfo diagInfo =
MakeError
(opTokenErrorOffset, opTokenErrorWidth, ErrorCode.ERR_OvlUnaryOperatorExpected);
3908
SyntaxDiagnosticInfo diagInfo =
MakeError
(opTokenErrorOffset, opTokenErrorWidth, ErrorCode.ERR_OvlBinaryOperatorExpected);
3916
SyntaxDiagnosticInfo diagInfo =
MakeError
(opTokenErrorOffset, opTokenErrorWidth, ErrorCode.ERR_OvlOperatorExpected);
Parser\LanguageParser_InterpolatedString.cs (2)
212
indentationError ??=
MakeError
(
286
return
MakeError
(offset: 0, width: 1, ErrorCode.ERR_LineDoesNotStartWithSameWhitespace);
Parser\SyntaxParser.cs (2)
835
return WithAdditionalDiagnostics(node,
MakeError
(firstToken.GetLeadingTriviaWidth(), firstToken.Width, code));
849
return WithAdditionalDiagnostics(node,
MakeError
(offset, width, code));