Beispiel #1
0
 internal static int ERResolve(SymbolError.Code e)
 {
     return(((int)e) + 3000);
 }
Beispiel #2
0
 // @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.
 }
Beispiel #3
0
 internal ErrorException(SymbolError.Code e, FileRange location, string stMessage)
     : this(ERResolve(e), location, stMessage)
 {
 }