private void ReportError(object sender, ErrorEventArgs e)
 {
     if (OnError != null) {
         OnError(this, e);
     }
 }
Пример #2
0
 internal FileErrorEventArgs(ErrorEventArgs e, LineMap lineMap)
     : this(e.Error, lineMap.Map(e.Position), e.Args)
 {
 }
Пример #3
0
 private void ReportError(object sender, ErrorEventArgs e) {
     if (OnError != null) {
         OnError(this, new FileErrorEventArgs(e, _lineMap));
     }
 }