1 instantiation of BeginEndAwaitableAdapter
mscorlib (1)
system\io\bufferedstream.cs (1)
164
_beginEndAwaitable = new
BeginEndAwaitableAdapter
();
11 references to BeginEndAwaitableAdapter
mscorlib (11)
system\io\bufferedstream.cs (7)
81
private
BeginEndAwaitableAdapter
_beginEndAwaitable; // Used to be able to await a BeginXxx call and thus to share code
775
_stream.BeginRead(array, offset, count,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
786
_stream.BeginRead(_buffer, 0, _bufferSize,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
1189
_stream.BeginWrite(_buffer, 0, _writePos,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
1216
_stream.BeginWrite(_buffer, 0, totalUserBytes,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
1227
_stream.BeginWrite(_buffer, 0, _writePos,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
1238
_stream.BeginWrite(array, offset, count,
BeginEndAwaitableAdapter
.Callback, _beginEndAwaitable);
system\threading\Tasks\BeginEndAwaitableAdapter.cs (4)
72
Contract.Assert(asyncResult.AsyncState is
BeginEndAwaitableAdapter
);
75
BeginEndAwaitableAdapter
adapter = (
BeginEndAwaitableAdapter
) asyncResult.AsyncState;
97
public
BeginEndAwaitableAdapter
GetAwaiter() {