internal static int ERResolve(SymbolError.Code e) { return(((int)e) + 3000); }
// @dogfood - if a parameter is of type 'code', then that gets confused with // the ErrorException get_Code Property from our base class. // For now, use a fully-qualified name. But we should fix this. //internal SymbolErrorException(Code c, FileRange location, string s) : internal SymbolErrorException(SymbolError.Code c, FileRange location, string s) : base(c, location, s) { // All Symbol errors will come through this body. }
internal ErrorException(SymbolError.Code e, FileRange location, string stMessage) : this(ERResolve(e), location, stMessage) { }