Skip to content

Commit f91f449

Browse files
committed
Fix comments
1 parent 4a49a97 commit f91f449

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Rx.NET/Source/src/System.Reactive/Linq/Observable/AppendPrepend.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ public void Run()
224224
{
225225
//
226226
// 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.
229228
//
230229
_scheduler.Schedule(this, (innerScheduler, @this) => @this.PrependValues(innerScheduler));
231230
}
@@ -242,8 +241,7 @@ public override void OnCompleted()
242241
_appendArray = _appends.ToReverseArray();
243242
//
244243
// 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.
247245
//
248246
_scheduler.Schedule(this, (innerScheduler, @this) => @this.AppendValues(innerScheduler));
249247
}
@@ -278,8 +276,7 @@ private IDisposable PrependValues(IScheduler scheduler)
278276
{
279277
//
280278
// 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.
283280
//
284281
scheduler.Schedule(this, (innerScheduler, @this) => @this.PrependValues(innerScheduler));
285282
}
@@ -307,8 +304,7 @@ private IDisposable AppendValues(IScheduler scheduler)
307304
{
308305
//
309306
// 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.
312308
//
313309
scheduler.Schedule(this, (innerScheduler, @this) => @this.AppendValues(innerScheduler));
314310
}

0 commit comments

Comments
 (0)