예제 #1
0
        protected void OnError(TRuntimeError error)
        {
            errorCount++;

            if (Error != null)
            {
                Error(this, new RuntimeErrorArgs() { RuntimeError = error, LineNumber = icode.CurrentLineNumber });
            }
        }
예제 #2
0
 protected void OnRuntimeError(TRuntimeError error)
 {
     if (RuntimeError != null)
     {
         RuntimeError(this, new RuntimeErrorArgs() { RuntimeError = error });
     }
 }