23 references to AddError
Microsoft.CodeAnalysis.CSharp (23)
Parser\AbstractLexer.cs (7)
68
this.
AddError
(this.MakeError(position, width, code));
73
this.
AddError
(this.MakeError(position, width, code, args));
78
this.
AddError
(this.MakeError(position, width, code, args));
83
this.
AddError
(MakeError(code));
88
this.
AddError
(MakeError(code, args));
93
this.
AddError
(MakeError(code));
98
this.
AddError
(MakeError(code, args));
Parser\Lexer.cs (14)
713
AddError
(error);
931
this.
AddError
(MakeError(ErrorCode.ERR_LegacyObjectIdSyntax));
968
this.
AddError
(MakeError(ErrorCode.ERR_InvalidReal));
1040
this.
AddError
(MakeError(start, TextWindow.Position - start, ErrorCode.ERR_InvalidNumber));
1072
this.
AddError
(MakeError(ErrorCode.ERR_InvalidNumber));
1200
this.
AddError
(MakeError(ErrorCode.ERR_IntOverflow));
1214
this.
AddError
(MakeError(ErrorCode.ERR_IntOverflow));
1220
this.
AddError
(MakeError(ErrorCode.ERR_IntOverflow));
1232
this.
AddError
(MakeError(ErrorCode.ERR_FloatOverflow, "double"));
1244
this.
AddError
(MakeError(ErrorCode.ERR_FloatOverflow, "float"));
1279
this.
AddError
(this.MakeError(start, end - start, ErrorCode.ERR_FloatOverflow, "decimal"));
1562
AddError
(error);
1586
AddError
(error);
2666
AddError
(error);
Parser\Lexer_StringLiteral.cs (2)
182
AddError
(error);
278
this.
AddError
(error);