public virtual Statement VisitFinally(Finally Finally) { if (Finally == null) return null; Finally.Block = this.VisitBlock(Finally.Block); return Finally; }
public override Statement VisitFinally(Finally Finally) { if (Finally == null) return null; return base.VisitFinally((Finally)Finally.Clone()); }
public override Statement VisitFinally(Finally Finally) { if (Finally == null) return null; WriteLine("finally"); this.VisitBlock(Finally.Block); return Finally; }
public Try(Block tryBlock, CatchList catchers, FilterList filters, FaultHandlerList faultHandlers, Finally Finally) : base(NodeType.Try) { this.catchers = catchers; this.faultHandlers = faultHandlers; this.filters = filters; this.finallyClause = Finally; this.tryBlock = tryBlock; }
public EventingVisitor(Action<Finally> visitFinally) { VisitedFinally += visitFinally; } public event Action<Finally> VisitedFinally; public override Statement VisitFinally(Finally Finally) { if (VisitedFinally != null) VisitedFinally(Finally); return base.VisitFinally(Finally); }