17 references to MakeError
Microsoft.CodeAnalysis.CSharp (17)
Parser\AbstractLexer.cs (1)
50
this.AddError(this.
MakeError
(position, width, code));
Parser\Lexer.cs (1)
1024
this.AddError(
MakeError
(start, TextWindow.Position - start, ErrorCode.ERR_InvalidNumber));
Parser\Lexer_StringLiteral.cs (15)
480
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_StringMustStartWithQuoteCharacter));
491
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_IllegalAtSequence));
497
TrySetError(_lexer.
MakeError
(window.Position - startingQuoteCount, startingQuoteCount, ErrorCode.ERR_NotEnoughQuotesForRawString));
556
TrySetError(_lexer.
MakeError
(
579
TrySetError(_lexer.
MakeError
(
597
TrySetError(_lexer.
MakeError
(
614
TrySetError(_lexer.
MakeError
(
625
TrySetError(_lexer.
MakeError
(
644
TrySetError(_lexer.
MakeError
(
731
this.TrySetError(_lexer.
MakeError
(
847
TrySetError(_lexer.
MakeError
(
886
TrySetError(_lexer.
MakeError
(openBracePosition - 1, 2, ErrorCode.ERR_UnclosedExpressionHole));
918
TrySetError(_lexer.
MakeError
(
933
TrySetError(_lexer.
MakeError
(
941
TrySetError(_lexer.
MakeError
(