14 references to AddError
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (4)
637this.AddError(TextWindow.Position + 1, width: 1, ErrorCode.ERR_ExpectedVerbatimLiteral); 1633this.AddError(start, atCount, ErrorCode.ERR_IllegalAtSequence); 2119this.AddError(TextWindow.Position, s_conflictMarkerLength, 2817this.AddError(TextWindow.LexemeStartPosition, TextWindow.Width, ErrorCode.ERR_OpenEndedComment);
Parser\Lexer_RawStringLiteral.cs (8)
137this.AddError(TextWindow.Position, width: TextWindow.GetNewLineWidth(), ErrorCode.ERR_UnterminatedRawString); 142this.AddError(TextWindow.Position, width: 0, ErrorCode.ERR_UnterminatedRawString); 165this.AddError( 210this.AddError( 268this.AddError( 285this.AddError(TextWindow.Position, width: 0, ErrorCode.ERR_UnterminatedRawString); 298this.AddError( 358this.AddError(
Parser\Lexer_StringLiteral.cs (2)
185this.AddError(start, TextWindow.Position - start, ErrorCode.ERR_IllegalEscape); 205this.AddError(start, width: TextWindow.Position - start, ErrorCode.ERR_IllegalAtSequence);