SpicyPixel.Threading.Tasks.YieldableTask.InternalAction C# (CSharp) Method

InternalAction() private method

private InternalAction ( ) : void
return void
        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;
        }