6 references to MakeError
Microsoft.CodeAnalysis.CSharp (6)
Parser\LanguageParser.cs (1)
3912
SyntaxDiagnosticInfo diagInfo =
MakeError
(opTokenErrorOffset, opTokenErrorWidth, ErrorCode.ERR_BadOperatorSyntax, SyntaxFacts.GetText(SyntaxKind.PlusToken));
Parser\LanguageParser_InterpolatedString.cs (1)
199
indentationError ??=
MakeError
(
Parser\SyntaxParser.cs (4)
641
token = WithAdditionalDiagnostics(token,
MakeError
(offset: 0, token.Width, errorCode, args));
773
return WithAdditionalDiagnostics(nodeOrToken,
MakeError
(offset, width, code, args));
900
return WithAdditionalDiagnostics(node,
MakeError
(offset, length, code, args));
912
return WithAdditionalDiagnostics(node,
MakeError
(offset: 0, firstToken.Width, code, args));