Beispiel #1
0
 public override void VisitException(ExceptionExpression exception)
 {
     ilGenerator.Emit(OpCodes.Ldloc, currentException);
 }
Beispiel #2
0
 public override void VisitException(ExceptionExpression exception)
 {
     if (currentExceptionType == null) {
         report.Error(exception.Location,
                      "`exception' expressions may only appear " +
                      "in `then' and `else' clauses of " +
                      "`protect' statements");
         return;
     }
     exception.NodeType = currentExceptionType;
 }
Beispiel #3
0
 public virtual void VisitException(ExceptionExpression exception)
 {
 }