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)
 {
 }
Example #3
0
 private void ReportError(object sender, ErrorEventArgs e) {
     if (OnError != null) {
         OnError(this, new FileErrorEventArgs(e, _lineMap));
     }
 }