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)
81private 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)
72Contract.Assert(asyncResult.AsyncState is BeginEndAwaitableAdapter); 75BeginEndAwaitableAdapter adapter = (BeginEndAwaitableAdapter) asyncResult.AsyncState; 97public BeginEndAwaitableAdapter GetAwaiter() {