<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.15">
  <compounddef id="_fiber_task_extensions_8cs" kind="file" language="C#">
    <compoundname>FiberTaskExtensions.cs</compoundname>
    <innerclass refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions" prot="public">SpicyPixel::Threading::Tasks::FiberTaskExtensions</innerclass>
    <innernamespace refid="namespace_spicy_pixel">SpicyPixel</innernamespace>
    <innernamespace refid="namespace_spicy_pixel_1_1_threading">SpicyPixel::Threading</innernamespace>
    <innernamespace refid="namespace_spicy_pixel_1_1_threading_1_1_tasks">SpicyPixel::Threading::Tasks</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"></highlight></codeline>
<codeline lineno="3"><highlight class="comment">Author:<sp/>Aaron<sp/>Oneal,<sp/>http://aarononeal.info</highlight></codeline>
<codeline lineno="4"><highlight class="comment"></highlight></codeline>
<codeline lineno="5"><highlight class="comment">Copyright<sp/>(c)<sp/>2012<sp/>Spicy<sp/>Pixel,<sp/>http://spicypixel.com</highlight></codeline>
<codeline lineno="6"><highlight class="comment"></highlight></codeline>
<codeline lineno="7"><highlight class="comment">Permission<sp/>is<sp/>hereby<sp/>granted,<sp/>free<sp/>of<sp/>charge,<sp/>to<sp/>any<sp/>person<sp/>obtaining</highlight></codeline>
<codeline lineno="8"><highlight class="comment">a<sp/>copy<sp/>of<sp/>this<sp/>software<sp/>and<sp/>associated<sp/>documentation<sp/>files<sp/>(the</highlight></codeline>
<codeline lineno="9"><highlight class="comment">&quot;Software&quot;),<sp/>to<sp/>deal<sp/>in<sp/>the<sp/>Software<sp/>without<sp/>restriction,<sp/>including</highlight></codeline>
<codeline lineno="10"><highlight class="comment">without<sp/>limitation<sp/>the<sp/>rights<sp/>to<sp/>use,<sp/>copy,<sp/>modify,<sp/>merge,<sp/>publish,</highlight></codeline>
<codeline lineno="11"><highlight class="comment">distribute,<sp/>sublicense,<sp/>and/or<sp/>sell<sp/>copies<sp/>of<sp/>the<sp/>Software,<sp/>and<sp/>to</highlight></codeline>
<codeline lineno="12"><highlight class="comment">permit<sp/>persons<sp/>to<sp/>whom<sp/>the<sp/>Software<sp/>is<sp/>furnished<sp/>to<sp/>do<sp/>so,<sp/>subject<sp/>to</highlight></codeline>
<codeline lineno="13"><highlight class="comment">the<sp/>following<sp/>conditions:</highlight></codeline>
<codeline lineno="14"><highlight class="comment"></highlight></codeline>
<codeline lineno="15"><highlight class="comment">The<sp/>above<sp/>copyright<sp/>notice<sp/>and<sp/>this<sp/>permission<sp/>notice<sp/>shall<sp/>be</highlight></codeline>
<codeline lineno="16"><highlight class="comment">included<sp/>in<sp/>all<sp/>copies<sp/>or<sp/>substantial<sp/>portions<sp/>of<sp/>the<sp/>Software.</highlight></codeline>
<codeline lineno="17"><highlight class="comment"></highlight></codeline>
<codeline lineno="18"><highlight class="comment">THE<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>&quot;AS<sp/>IS&quot;,<sp/>WITHOUT<sp/>WARRANTY<sp/>OF<sp/>ANY<sp/>KIND,</highlight></codeline>
<codeline lineno="19"><highlight class="comment">EXPRESS<sp/>OR<sp/>IMPLIED,<sp/>INCLUDING<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO<sp/>THE<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="20"><highlight class="comment">MERCHANTABILITY,<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>AND</highlight></codeline>
<codeline lineno="21"><highlight class="comment">NONINFRINGEMENT.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>AUTHORS<sp/>OR<sp/>COPYRIGHT<sp/>HOLDERS<sp/>BE</highlight></codeline>
<codeline lineno="22"><highlight class="comment">LIABLE<sp/>FOR<sp/>ANY<sp/>CLAIM,<sp/>DAMAGES<sp/>OR<sp/>OTHER<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>AN<sp/>ACTION</highlight></codeline>
<codeline lineno="23"><highlight class="comment">OF<sp/>CONTRACT,<sp/>TORT<sp/>OR<sp/>OTHERWISE,<sp/>ARISING<sp/>FROM,<sp/>OUT<sp/>OF<sp/>OR<sp/>IN<sp/>CONNECTION</highlight></codeline>
<codeline lineno="24"><highlight class="comment">WITH<sp/>THE<sp/>SOFTWARE<sp/>OR<sp/>THE<sp/>USE<sp/>OR<sp/>OTHER<sp/>DEALINGS<sp/>IN<sp/>THE<sp/>SOFTWARE.</highlight></codeline>
<codeline lineno="25"><highlight class="comment"></highlight></codeline>
<codeline lineno="26"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_system" kindref="compound">System</ref>;</highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_system" kindref="compound">System</ref>.<ref refid="namespace_system_1_1_collections" kindref="compound">Collections</ref>;</highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_system" kindref="compound">System</ref>.<ref refid="namespace_system_1_1_threading" kindref="compound">Threading</ref>;</highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_system" kindref="compound">System</ref>.<ref refid="namespace_system_1_1_threading" kindref="compound">Threading</ref>.<ref refid="namespace_system_1_1_threading_1_1_tasks" kindref="compound">Tasks</ref>;</highlight></codeline>
<codeline lineno="31"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_spicy_pixel" kindref="compound">SpicyPixel</ref>.<ref refid="namespace_spicy_pixel_1_1_threading" kindref="compound">Threading</ref>;</highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/><ref refid="namespace_spicy_pixel" kindref="compound">SpicyPixel</ref>.<ref refid="namespace_spicy_pixel_1_1_threading" kindref="compound">Threading</ref>.<ref refid="namespace_spicy_pixel_1_1_threading_1_1_tasks" kindref="compound">Tasks</ref>;</highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
<codeline lineno="34" refid="namespace_spicy_pixel_1_1_threading_1_1_tasks" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespace_spicy_pixel_1_1_threading_1_1_tasks" kindref="compound">SpicyPixel.Threading.Tasks</ref></highlight></codeline>
<codeline lineno="35"><highlight class="normal">{</highlight></codeline>
<codeline lineno="39" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions" kindref="compound">FiberTaskExtensions</ref></highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="53" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/>IEnumerator<sp/>coroutine)</highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>coroutine,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.None);</highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="73" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a996221194bc6dd0ad3e02a5760e64841" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a996221194bc6dd0ad3e02a5760e64841" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref><sp/>continuationOptions)</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/>continuationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a2041301e848c6bce971f67653493c994" kindref="member">Current</ref>);</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="93" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a43d1315c2dc6a452b02931a66559b58d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a43d1315c2dc6a452b02931a66559b58d" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken)</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>coroutine,<sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a2041301e848c6bce971f67653493c994" kindref="member">Current</ref>);</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="113" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a556f8c4493b81668b7d692f00d4d0fc6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a556f8c4493b81668b7d692f00d4d0fc6" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/>scheduler);</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="139" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a279d1dc2f94a5f81ebc5cd445d95f9e2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a279d1dc2f94a5f81ebc5cd445d95f9e2" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref><sp/>continuationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(coroutine<sp/>==<sp/></highlight><highlight class="keyword">null</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentNullException<sp/>(</highlight><highlight class="stringliteral">&quot;coroutine&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(scheduler<sp/>==<sp/></highlight><highlight class="keyword">null</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentNullException<sp/>(</highlight><highlight class="stringliteral">&quot;scheduler&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!(scheduler<sp/>is<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_scheduler" kindref="compound">FiberTaskScheduler</ref>))</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentException<sp/>(</highlight><highlight class="stringliteral">&quot;The<sp/>scheduler<sp/>for<sp/>a<sp/>YieldableTask<sp/>must<sp/>be<sp/>a<sp/>FiberTaskScheduler&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;scheduler&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>This<sp/>creates<sp/>a<sp/>continuation<sp/>that<sp/>runs<sp/>on<sp/>the<sp/>default<sp/>scheduler<sp/>(e.g.<sp/>ThreadPool)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>where<sp/>it&apos;s<sp/>OK<sp/>to<sp/>wait<sp/>on<sp/>a<sp/>child<sp/>task<sp/>to<sp/>complete.<sp/>The<sp/>child<sp/>task<sp/>is<sp/>scheduled</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>on<sp/>the<sp/>given<sp/>scheduler<sp/>and<sp/>attached<sp/>to<sp/>the<sp/>parent.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//var<sp/>outerScheduler<sp/>=<sp/>TaskScheduler.Current;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//if(outerScheduler<sp/>is<sp/>MonoBehaviourTaskScheduler)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>outerScheduler<sp/>=<sp/>TaskScheduler.Default;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>outerScheduler<sp/>=<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a98886a4c6a5366d2fc73d0342f875cac" kindref="member">Default</ref>;</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>The<sp/>thread<sp/>pool<sp/>scheduler<sp/>cannot<sp/>be<sp/>used<sp/>in<sp/>web<sp/>scenarios.<sp/>The<sp/>outer<sp/>scheduler</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>must<sp/>be<sp/>the<sp/>fiber<sp/>scheduler.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//var<sp/>outerScheduler<sp/>=<sp/>scheduler;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>task.ContinueWith((<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>antecedent)<sp/>=&gt;<sp/>{</highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>yieldableTask<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_yieldable_task" kindref="compound">YieldableTask</ref>(coroutine,<sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref>.AttachedToParent);</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>yieldableTask.Start(scheduler);</highlight></codeline>
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>},<sp/>cancellationToken,<sp/>continuationOptions,<sp/>outerScheduler);</highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
<codeline lineno="180" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a1a137bf3e4febdd4a8bbe49954735495" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a1a137bf3e4febdd4a8bbe49954735495" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction)</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>instruction,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.None);</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="200" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a0434e72c3bcaf184d45432b571743d92" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a0434e72c3bcaf184d45432b571743d92" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref><sp/>continuationOptions)</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/>continuationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a2041301e848c6bce971f67653493c994" kindref="member">Current</ref>);</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="220" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a2adb24f1bfc14a6953576e1b8053f85f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a2adb24f1bfc14a6953576e1b8053f85f" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken)</highlight></codeline>
<codeline lineno="221"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>instruction,<sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a2041301e848c6bce971f67653493c994" kindref="member">Current</ref>);</highlight></codeline>
<codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="240" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ab28bde1573a23cdbc4ed97b8bb584235" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ab28bde1573a23cdbc4ed97b8bb584235" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a73af60caf9b44d65d1ad33f6875bd47e" kindref="member">ContinueWith</ref><sp/>(task,<sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref>.<ref refid="struct_system_1_1_threading_1_1_cancellation_token_1aa93a5902f076f45412f5e8fbfece237a" kindref="member">None</ref>,<sp/>scheduler);</highlight></codeline>
<codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="266" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a528a18500ac4028f02a05c35b4c49a52" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a528a18500ac4028f02a05c35b4c49a52" kindref="member">ContinueWith</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>task,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1ab5cf40b8fe3e13fb48c71a8a93f1b2a6" kindref="member">TaskContinuationOptions</ref><sp/>continuationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="267"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(instruction<sp/>==<sp/></highlight><highlight class="keyword">null</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentNullException<sp/>(</highlight><highlight class="stringliteral">&quot;instruction&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="270"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(scheduler<sp/>==<sp/></highlight><highlight class="keyword">null</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="271"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentNullException<sp/>(</highlight><highlight class="stringliteral">&quot;scheduler&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="272"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!(scheduler<sp/>is<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_scheduler" kindref="compound">FiberTaskScheduler</ref>))</highlight></codeline>
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">throw</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>ArgumentException<sp/>(</highlight><highlight class="stringliteral">&quot;The<sp/>scheduler<sp/>for<sp/>a<sp/>YieldableTask<sp/>must<sp/>be<sp/>a<sp/>FiberTaskScheduler&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;scheduler&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>This<sp/>creates<sp/>a<sp/>continuation<sp/>that<sp/>runs<sp/>on<sp/>the<sp/>default<sp/>scheduler<sp/>(e.g.<sp/>ThreadPool)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>where<sp/>it&apos;s<sp/>OK<sp/>to<sp/>wait<sp/>on<sp/>a<sp/>child<sp/>task<sp/>to<sp/>complete.<sp/>The<sp/>child<sp/>task<sp/>is<sp/>scheduled</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>on<sp/>the<sp/>given<sp/>scheduler<sp/>and<sp/>attached<sp/>to<sp/>the<sp/>parent.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="279"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//var<sp/>outerScheduler<sp/>=<sp/>TaskScheduler.Current;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//if(outerScheduler<sp/>is<sp/>MonoBehaviourTaskScheduler)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="281"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/><sp/>outerScheduler<sp/>=<sp/>TaskScheduler.Default;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="283"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>outerScheduler<sp/>=<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref>.<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler_1a98886a4c6a5366d2fc73d0342f875cac" kindref="member">Default</ref>;</highlight></codeline>
<codeline lineno="284"><highlight class="normal"></highlight></codeline>
<codeline lineno="285"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>The<sp/>thread<sp/>pool<sp/>scheduler<sp/>cannot<sp/>be<sp/>used<sp/>in<sp/>web<sp/>scenarios.<sp/>The<sp/>outer<sp/>scheduler</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>must<sp/>be<sp/>the<sp/>fiber<sp/>scheduler.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="287"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//var<sp/>outerScheduler<sp/>=<sp/>scheduler;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="289"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>task.ContinueWith((<ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/>antecedent)<sp/>=&gt;<sp/>{</highlight></codeline>
<codeline lineno="290"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>yieldableTask<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_yieldable_task" kindref="compound">YieldableTask</ref>(instruction,<sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref>.AttachedToParent);</highlight></codeline>
<codeline lineno="291"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>yieldableTask.Start(scheduler);</highlight></codeline>
<codeline lineno="292"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>},<sp/>cancellationToken,<sp/>continuationOptions,<sp/>outerScheduler);</highlight></codeline>
<codeline lineno="293"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="294"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="307" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/>IEnumerator<sp/>coroutine)</highlight></codeline>
<codeline lineno="308"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="309"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>coroutine,<sp/>taskFactory.CancellationToken,<sp/>taskFactory.CreationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="310"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="311"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="327" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ab69b3eb845283b02a10e93c093117113" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ab69b3eb845283b02a10e93c093117113" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken)</highlight></codeline>
<codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="329"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>coroutine,<sp/>cancellationToken,<sp/>taskFactory.CreationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="330"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="331"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="347" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a10ff8b499dcd322195438926abf6ac58" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a10ff8b499dcd322195438926abf6ac58" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref><sp/>creationOptions)</highlight></codeline>
<codeline lineno="348"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="349"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>coroutine,<sp/>taskFactory.CancellationToken,<sp/>creationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="350"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="351"><highlight class="normal"></highlight></codeline>
<codeline lineno="373" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a0e0f4b4e023f252bd61ea6ddd770d808" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a0e0f4b4e023f252bd61ea6ddd770d808" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/>IEnumerator<sp/>coroutine,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref><sp/>creationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="374"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="375"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>task<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_yieldable_task" kindref="compound">YieldableTask</ref><sp/>(coroutine,<sp/>cancellationToken,<sp/>creationOptions);</highlight></codeline>
<codeline lineno="376"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>task.Start<sp/>(scheduler);</highlight></codeline>
<codeline lineno="377"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>task;</highlight></codeline>
<codeline lineno="378"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="379"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="392" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a4a43b611ba83704ad25dc363610159a5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a4a43b611ba83704ad25dc363610159a5" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction)</highlight></codeline>
<codeline lineno="393"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="394"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>instruction,<sp/>taskFactory.CancellationToken,<sp/>taskFactory.CreationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="395"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="396"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="412" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ae3bd086965c9d5234088c85e20f8b76d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1ae3bd086965c9d5234088c85e20f8b76d" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken)</highlight></codeline>
<codeline lineno="413"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="414"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>instruction,<sp/>cancellationToken,<sp/>taskFactory.CreationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="415"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="416"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="432" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a48fdfb0103a11642a98a776bcb9e9d8e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a48fdfb0103a11642a98a776bcb9e9d8e" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref><sp/>creationOptions)</highlight></codeline>
<codeline lineno="433"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="434"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a04d638d256b8b811bfb027440c0daf88" kindref="member">StartNew</ref><sp/>(taskFactory,<sp/>instruction,<sp/>taskFactory.CancellationToken,<sp/>creationOptions,<sp/>taskFactory.Scheduler);</highlight></codeline>
<codeline lineno="435"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="436"><highlight class="normal"></highlight></codeline>
<codeline lineno="458" refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a501066fe183922967f869d2944e12015" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task" kindref="compound">Task</ref><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_fiber_task_extensions_1a501066fe183922967f869d2944e12015" kindref="member">StartNew</ref><sp/>(</highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_factory" kindref="compound">TaskFactory</ref><sp/>taskFactory,<sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_fiber_instruction" kindref="compound">FiberInstruction</ref><sp/>instruction,<sp/><ref refid="struct_system_1_1_threading_1_1_cancellation_token" kindref="compound">CancellationToken</ref><sp/>cancellationToken,<sp/><ref refid="namespace_system_1_1_threading_1_1_tasks_1a05fc9184b921cd487b58596906311df5" kindref="member">TaskCreationOptions</ref><sp/>creationOptions,<sp/><ref refid="class_system_1_1_threading_1_1_tasks_1_1_task_scheduler" kindref="compound">TaskScheduler</ref><sp/>scheduler)</highlight></codeline>
<codeline lineno="459"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="460"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>var<sp/>task<sp/>=<sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/><ref refid="class_spicy_pixel_1_1_threading_1_1_tasks_1_1_yieldable_task" kindref="compound">YieldableTask</ref><sp/>(instruction,<sp/>cancellationToken,<sp/>creationOptions);</highlight></codeline>
<codeline lineno="461"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>task.Start<sp/>(scheduler);</highlight></codeline>
<codeline lineno="462"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>task;</highlight></codeline>
<codeline lineno="463"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="464"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="465"><highlight class="normal">}</highlight></codeline>
<codeline lineno="466"><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="Source/SpicyPixel.Threading/FiberTaskExtensions.cs"/>
  </compounddef>
</doxygen>
