2 instantiations of ReadWriteTask
mscorlib (2)
system\io\stream.cs (2)
338
var asyncResult = new
ReadWriteTask
(true /*isRead*/, delegate
484
var asyncResult = new
ReadWriteTask
(false /*isRead*/, delegate
15 references to ReadWriteTask
mscorlib (15)
system\io\stream.cs (15)
59
private
ReadWriteTask
_activeReadWriteTask;
338
var
asyncResult = new ReadWriteTask(true /*isRead*/, delegate
343
var
thisTask = Task.InternalCurrent as
ReadWriteTask
;
379
var
readTask = _activeReadWriteTask;
484
var
asyncResult = new ReadWriteTask(false /*isRead*/, delegate
489
var
thisTask = Task.InternalCurrent as
ReadWriteTask
;
509
private void RunReadWriteTaskWhenReady(Task asyncWaiter,
ReadWriteTask
readWriteTask)
526
var tuple = (Tuple<Stream,
ReadWriteTask
>)state;
528
}, Tuple.Create<Stream,
ReadWriteTask
>(this, readWriteTask),
535
private void RunReadWriteTask(
ReadWriteTask
readWriteTask)
567
var
writeTask = _activeReadWriteTask;
667
var
rwc = (
ReadWriteTask
)completedTask;