Exemple #1
0
 public virtual ExceptionHandler VisitExceptionHandler(ExceptionHandler handler)
 {
     if (handler == null) return null;
     handler = (ExceptionHandler)handler.Clone();
     handler.BlockAfterHandlerEnd = this.VisitBlock(handler.BlockAfterHandlerEnd);
     handler.BlockAfterTryEnd = this.VisitBlock(handler.BlockAfterTryEnd);
     handler.FilterExpression = this.VisitBlock(handler.FilterExpression);
     handler.FilterType = this.VisitTypeReference(handler.FilterType);
     handler.HandlerStartBlock = this.VisitBlock(handler.HandlerStartBlock);
     handler.TryStartBlock = this.VisitBlock(handler.TryStartBlock);
     return handler;
 }