17 references to MakeError
Microsoft.CodeAnalysis.CSharp (17)
Parser\AbstractLexer.cs (1)
68
this.AddError(this.
MakeError
(position, width, code));
Parser\Lexer.cs (1)
1233
this.AddError(
MakeError
(start, TextWindow.Position - start, ErrorCode.ERR_InvalidNumber));
Parser\Lexer_StringLiteral.cs (15)
457
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_StringMustStartWithQuoteCharacter));
468
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_IllegalAtSequence));
474
TrySetError(_lexer.
MakeError
(window.Position - startingQuoteCount, startingQuoteCount, ErrorCode.ERR_NotEnoughQuotesForRawString));
530
TrySetError(_lexer.
MakeError
(
553
TrySetError(_lexer.
MakeError
(
571
TrySetError(_lexer.
MakeError
(
588
TrySetError(_lexer.
MakeError
(
599
TrySetError(_lexer.
MakeError
(
618
TrySetError(_lexer.
MakeError
(
705
this.TrySetError(_lexer.
MakeError
(
821
TrySetError(_lexer.
MakeError
(
860
TrySetError(_lexer.
MakeError
(openBracePosition - 1, 2, ErrorCode.ERR_UnclosedExpressionHole));
892
TrySetError(_lexer.
MakeError
(
907
TrySetError(_lexer.
MakeError
(
915
TrySetError(_lexer.
MakeError
(