private void InternalAction() { if(!(TaskScheduler.Current is FiberTaskScheduler)) throw new InvalidOperationException("A YieldableTask can only be queued to a FiberTaskScheduler."); if(fiberException != null) throw fiberException; }