public ErrorSinkWrapper(Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.ErrorSink errorSink)
 {
     if (sourceUnit == null)
         throw new ArgumentNullException();
     if (errorSink == null)
         throw new ArgumentNullException();
     this.SourceUnit = sourceUnit;
     this.ErrorSink = errorSink;
 }
 public ErrorSinkWrapper(Microsoft.Scripting.SourceUnit sourceUnit, Microsoft.Scripting.ErrorSink errorSink)
 {
     if (sourceUnit == null)
     {
         throw new ArgumentNullException();
     }
     if (errorSink == null)
     {
         throw new ArgumentNullException();
     }
     this.SourceUnit = sourceUnit;
     this.ErrorSink  = errorSink;
 }