@@ -224,8 +224,7 @@ public void Run()
224
224
{
225
225
//
226
226
// We never allow the scheduled work to be cancelled. Instead, the _disposed flag
227
- // is used to have LoopRec bail out and perform proper clean-up of the
228
- // enumerator.
227
+ // is used to have PrependValues() bail out.
229
228
//
230
229
_scheduler . Schedule ( this , ( innerScheduler , @this ) => @this . PrependValues ( innerScheduler ) ) ;
231
230
}
@@ -242,8 +241,7 @@ public override void OnCompleted()
242
241
_appendArray = _appends . ToReverseArray ( ) ;
243
242
//
244
243
// We never allow the scheduled work to be cancelled. Instead, the _disposed flag
245
- // is used to have LoopRec bail out and perform proper clean-up of the
246
- // enumerator.
244
+ // is used to have `AppendValues` bail out.
247
245
//
248
246
_scheduler . Schedule ( this , ( innerScheduler , @this ) => @this . AppendValues ( innerScheduler ) ) ;
249
247
}
@@ -278,8 +276,7 @@ private IDisposable PrependValues(IScheduler scheduler)
278
276
{
279
277
//
280
278
// We never allow the scheduled work to be cancelled. Instead, the _disposed flag
281
- // is used to have LoopRec bail out and perform proper clean-up of the
282
- // enumerator.
279
+ // is used to have PrependValues() bail out.
283
280
//
284
281
scheduler . Schedule ( this , ( innerScheduler , @this ) => @this . PrependValues ( innerScheduler ) ) ;
285
282
}
@@ -307,8 +304,7 @@ private IDisposable AppendValues(IScheduler scheduler)
307
304
{
308
305
//
309
306
// We never allow the scheduled work to be cancelled. Instead, the _disposed flag
310
- // is used to have LoopRec bail out and perform proper clean-up of the
311
- // enumerator.
307
+ // is used to have AppendValues() bail out.
312
308
//
313
309
scheduler . Schedule ( this , ( innerScheduler , @this ) => @this . AppendValues ( innerScheduler ) ) ;
314
310
}
0 commit comments