public override Expression VisitCurrentClosure(CurrentClosure currentClosure) { if (currentClosure == null) return null; return base.VisitCurrentClosure((CurrentClosure)currentClosure.Clone()); }
public virtual Expression VisitCurrentClosure(CurrentClosure currentClosure) { return currentClosure; }
public EventingVisitor(Action<CurrentClosure> visitCurrentClosure) { VisitedCurrentClosure += visitCurrentClosure; } public event Action<CurrentClosure> VisitedCurrentClosure; public override Expression VisitCurrentClosure(CurrentClosure currentClosure) { if (VisitedCurrentClosure != null) VisitedCurrentClosure(currentClosure); return base.VisitCurrentClosure(currentClosure); }