private void ReportError(object sender, ErrorEventArgs e) { if (OnError != null) { OnError(this, e); } }
internal FileErrorEventArgs(ErrorEventArgs e, LineMap lineMap) : this(e.Error, lineMap.Map(e.Position), e.Args) { }
private void ReportError(object sender, ErrorEventArgs e) { if (OnError != null) { OnError(this, new FileErrorEventArgs(e, _lineMap)); } }