17 references to MakeError
Microsoft.CodeAnalysis.CSharp (17)
Parser\AbstractLexer.cs (1)
68
this.AddError(this.
MakeError
(position, width, code));
Parser\Lexer.cs (1)
1040
this.AddError(
MakeError
(start, TextWindow.Position - start, ErrorCode.ERR_InvalidNumber));
Parser\Lexer_StringLiteral.cs (15)
464
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_StringMustStartWithQuoteCharacter));
475
TrySetError(_lexer.
MakeError
(start, window.Position - start, ErrorCode.ERR_IllegalAtSequence));
481
TrySetError(_lexer.
MakeError
(window.Position - startingQuoteCount, startingQuoteCount, ErrorCode.ERR_NotEnoughQuotesForRawString));
537
TrySetError(_lexer.
MakeError
(
560
TrySetError(_lexer.
MakeError
(
578
TrySetError(_lexer.
MakeError
(
595
TrySetError(_lexer.
MakeError
(
606
TrySetError(_lexer.
MakeError
(
625
TrySetError(_lexer.
MakeError
(
712
this.TrySetError(_lexer.
MakeError
(
828
TrySetError(_lexer.
MakeError
(
867
TrySetError(_lexer.
MakeError
(openBracePosition - 1, 2, ErrorCode.ERR_UnclosedExpressionHole));
899
TrySetError(_lexer.
MakeError
(
914
TrySetError(_lexer.
MakeError
(
922
TrySetError(_lexer.
MakeError
(