Entry tags:
Немного легкой утренней наркомании
public static void CallWithEscapeContinuation(Action<Action> f) { var escapeTag = new Exception(); Action escapeProcedure = () => { throw escapeTag; }; try { f(escapeProcedure); } catch (Exception e) { if (ReferenceEquals(escapeTag, e)) return; throw; } }