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