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; }
public override void Add(Microsoft.Scripting.SourceUnit source, string message, Microsoft.Scripting.SourceSpan span, int errorCode, Microsoft.Scripting.Severity severity) { Add(message, span); }