Exemple #1
0
 public override void VisitException(ExceptionExpression exception)
 {
     ilGenerator.Emit(OpCodes.Ldloc, currentException);
 }
Exemple #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;
 }
Exemple #3
0
 public virtual void VisitException(ExceptionExpression exception)
 {
 }