7 references to MakeError
Microsoft.CodeAnalysis.CSharp (7)
Parser\LanguageParser.cs (1)
3851
SyntaxDiagnosticInfo diagInfo =
MakeError
(opTokenErrorOffset, opTokenErrorWidth, ErrorCode.ERR_BadOperatorSyntax, SyntaxFacts.GetText(SyntaxKind.PlusToken));
Parser\LanguageParser_InterpolatedString.cs (1)
204
indentationError ??=
MakeError
(
Parser\SyntaxParser.cs (5)
624
token = WithAdditionalDiagnostics(token,
MakeError
(token.GetLeadingTriviaWidth(), token.Width, errorCode, args));
816
return WithAdditionalDiagnostics(node,
MakeError
(offset, width, code, args));
821
return WithAdditionalDiagnostics(node,
MakeError
(offset, length, code, args));
841
return WithAdditionalDiagnostics(node,
MakeError
(firstToken.GetLeadingTriviaWidth(), firstToken.Width, code, args));
857
return WithAdditionalDiagnostics(node,
MakeError
(offset, width, code, args));