22 references to AddError
Microsoft.CodeAnalysis.CSharp (22)
Parser\AbstractLexer.cs (6)
50this.AddError(this.MakeError(position, width, code)); 55this.AddError(this.MakeError(position, width, code, args)); 60this.AddError(MakeError(code)); 65this.AddError(MakeError(code, args)); 70this.AddError(MakeError(code)); 75this.AddError(MakeError(code, args));
Parser\Lexer.cs (14)
697AddError(error); 915this.AddError(MakeError(ErrorCode.ERR_LegacyObjectIdSyntax)); 952this.AddError(MakeError(ErrorCode.ERR_InvalidReal)); 1024this.AddError(MakeError(start, TextWindow.Position - start, ErrorCode.ERR_InvalidNumber)); 1056this.AddError(MakeError(ErrorCode.ERR_InvalidNumber)); 1184this.AddError(MakeError(ErrorCode.ERR_IntOverflow)); 1198this.AddError(MakeError(ErrorCode.ERR_IntOverflow)); 1204this.AddError(MakeError(ErrorCode.ERR_IntOverflow)); 1216this.AddError(MakeError(ErrorCode.ERR_FloatOverflow, "double")); 1228this.AddError(MakeError(ErrorCode.ERR_FloatOverflow, "float")); 1263this.AddError(this.MakeError(start, end - start, ErrorCode.ERR_FloatOverflow, "decimal")); 1542AddError(error); 1566AddError(error); 2698AddError(error);
Parser\Lexer_StringLiteral.cs (2)
182AddError(error); 278this.AddError(error);