private static void InvokePostPhaseAction(object obj) { var thisBarrier = (Barrier)obj; thisBarrier._postPhaseAction(thisBarrier); }