21 types derived from LazyAsyncResult
System (21)
net\System\Net\_ContextAwareResult.cs (1)
75
internal class ContextAwareResult :
LazyAsyncResult
net\System\Net\_ListenerAsyncResult.cs (1)
12
unsafe class ListenerAsyncResult :
LazyAsyncResult
net\System\Net\_ListenerRequestStream.cs (1)
367
unsafe class HttpRequestStreamAsyncResult :
LazyAsyncResult
{
net\System\Net\_ListenerResponseStream.cs (1)
479
unsafe class HttpResponseStreamAsyncResult :
LazyAsyncResult
{
net\System\Net\_NestedMultipleAsyncResult.cs (1)
14
internal class NestedMultipleAsyncResult :
LazyAsyncResult
{
net\System\Net\_NestedSingleAsyncResult.cs (1)
14
internal class NestedSingleAsyncResult :
LazyAsyncResult
{
net\System\Net\_StreamFramer.cs (1)
503
internal class WorkerAsyncResult :
LazyAsyncResult
{
net\System\Net\Cache\_CacheStreams.cs (2)
155
private class InnerAsyncResult:
LazyAsyncResult
{
509
private class InnerAsyncResult:
LazyAsyncResult
{
net\System\Net\HttpListenerRequest.cs (1)
36
unsafe internal class ListenerClientCertAsyncResult :
LazyAsyncResult
{
net\System\Net\mail\Base64Stream.cs (2)
420
class ReadAsyncResult :
LazyAsyncResult
500
class WriteAsyncResult :
LazyAsyncResult
net\System\Net\mail\BufferedReadStream.cs (1)
215
class ReadAsyncResult :
LazyAsyncResult
net\System\Net\mail\MimeBasePart.cs (1)
249
internal class MimePartAsyncResult:
LazyAsyncResult
{
net\System\Net\mail\MultiAsyncResult.cs (1)
5
internal class MultiAsyncResult :
LazyAsyncResult
net\System\Net\mail\QEncodedStream.cs (1)
356
class WriteAsyncResult :
LazyAsyncResult
net\System\Net\mail\QuotedPrintableStream.cs (1)
389
class WriteAsyncResult :
LazyAsyncResult
net\System\Net\mail\smtpconnection.cs (1)
572
class ConnectAndHandshakeAsyncResult :
LazyAsyncResult
net\System\Net\mail\SmtpReplyReaderFactory.cs (1)
368
class ReadLinesAsyncResult :
LazyAsyncResult
net\System\Net\mail\SmtpTransport.cs (1)
359
class SendMailAsyncResult :
LazyAsyncResult
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (1)
33
internal class BufferAsyncResult:
LazyAsyncResult
{
32 instantiations of LazyAsyncResult
System (32)
net\System\Net\_ChunkParser.cs (1)
123
userAsyncResult = new
LazyAsyncResult
(caller, state, callback);
net\System\Net\_ConnectStream.cs (3)
957
asyncResult = new
LazyAsyncResult
(this, state, callback);
3168
return new
LazyAsyncResult
(null, state, callback, result);
3179
return new
LazyAsyncResult
(null, state, callback, null);
net\System\Net\_FtpControlStream.cs (1)
209
LazyAsyncResult handshakeResult = new
LazyAsyncResult
(null, this, m_SSLHandshakeCallback);
net\System\Net\_FtpDataStream.cs (1)
239
LazyAsyncResult userResult = new
LazyAsyncResult
(this, state, callback);
net\System\Net\_TLSstream.cs (2)
454
result = new
LazyAsyncResult
(this, null, null);
480
handshakeResult = new
LazyAsyncResult
(m_Worker, null, new AsyncCallback(WakeupPendingIO));
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
350
LazyAsyncResult ar = new
LazyAsyncResult
(null, state, callback);
519
LazyAsyncResult ar = new
LazyAsyncResult
(null, state, callback);
net\System\Net\filewebrequest.cs (2)
242
m_ReadAResult = new
LazyAsyncResult
(this, state, callback);
276
m_WriteAResult = new
LazyAsyncResult
(this,state,callback);
net\System\Net\FtpWebRequest.cs (2)
639
m_ReadAsyncResult = new
LazyAsyncResult
(null, null, null);
1179
m_RequestCompleteAsyncResult = new
LazyAsyncResult
(null, null, null);
net\System\Net\HttpWebRequest.cs (6)
1572
_WriteAResult = new
LazyAsyncResult
(this, null, null);
2224
_ReadAResult = new
LazyAsyncResult
(this, null, null);
3795
_ReadAResult = new
LazyAsyncResult
(null, null, null); //never throws
3933
_ReadAResult = new
LazyAsyncResult
(null, null, null, E); //never throws
4137
_ConnectionAResult = new
LazyAsyncResult
(this, null, null);
4138
_ConnectionReaderAResult = new
LazyAsyncResult
(this, null, null);
net\System\Net\mail\Message.cs (1)
277
LazyAsyncResult result = new
LazyAsyncResult
(this,state,callback);
net\System\Net\SecureProtocols\_SslState.cs (5)
633
AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(new
LazyAsyncResult
(this, null, new AsyncCallback(RehandshakeCompleteCallback)));
1140
lazyResult = new
LazyAsyncResult
(null, null,/*must be */ null);
1220
lazyResult = new
LazyAsyncResult
(null, null, /*must be */ null);
1291
lazyResult = new
LazyAsyncResult
(null, null, /*must be */null);
1371
lazyResult = new
LazyAsyncResult
(null, null, /*must be*/null);
net\System\Net\SecureProtocols\_SslStream.cs (2)
171
LazyAsyncResult lazyResult = new
LazyAsyncResult
(this, asyncState, asyncCallback);
181
LazyAsyncResult lazyResult = new
LazyAsyncResult
(this, asyncState, asyncCallback);
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
156
LazyAsyncResult result = new
LazyAsyncResult
(_NegoState, asyncState, asyncCallback);
247
LazyAsyncResult result = new
LazyAsyncResult
(_NegoState, asyncState, asyncCallback);
net\System\Net\SecureProtocols\SslStream.cs (2)
167
LazyAsyncResult result = new
LazyAsyncResult
(_SslState, asyncState, asyncCallback);
228
LazyAsyncResult result = new
LazyAsyncResult
(_SslState, asyncState, asyncCallback);
160 references to LazyAsyncResult
System (160)
net\System\Net\_ChunkParser.cs (2)
48
private
LazyAsyncResult
userAsyncResult;
293
LazyAsyncResult
localResult = userAsyncResult;
net\System\Net\_Connection.cs (2)
3224
GlobalLog.Assert((asyncResult is OverlappedAsyncResult || asyncResult is
LazyAsyncResult
), "Connection#{0}::ReadCallback()|asyncResult is not OverlappedAsyncResult.", ValidationHelper.HashString(this));
3739
HttpWebRequest req = (HttpWebRequest)((
LazyAsyncResult
)result).AsyncObject;
net\System\Net\_ConnectStream.cs (15)
941
LazyAsyncResult
asyncResult = null;
1194
LazyAsyncResult
userResult = (
LazyAsyncResult
) asyncResult.AsyncState;
1198
private void ProcessWriteCallback(IAsyncResult asyncResult,
LazyAsyncResult
userResult)
1303
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
1923
LazyAsyncResult
castedAsyncResult = (
LazyAsyncResult
)asyncResult;
2432
void ResumeInternalClose(
LazyAsyncResult
userResult)
2468
ResumeClose_Part2((
LazyAsyncResult
)ar.AsyncState);
2471
private void ResumeClose_Part2(
LazyAsyncResult
userResult)
3173
LazyAsyncResult
lazyResult = (
LazyAsyncResult
)asyncResult;
3184
LazyAsyncResult
lazyResult = (
LazyAsyncResult
)asyncResult;
net\System\Net\_FtpControlStream.cs (5)
121
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
145
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
209
LazyAsyncResult
handshakeResult = new LazyAsyncResult(null, this, m_SSLHandshakeCallback);
net\System\Net\_FtpDataStream.cs (4)
212
LazyAsyncResult
userResult = (
LazyAsyncResult
) ar.AsyncState;
239
LazyAsyncResult
userResult = new LazyAsyncResult(this, state, callback);
256
object result = ((
LazyAsyncResult
)ar).InternalWaitForCompletion();
net\System\Net\_TLSstream.cs (7)
435
internal bool ProcessAuthentication(
LazyAsyncResult
result)
464
LazyAsyncResult
handshakeResult = null;
550
m_Worker.ProcessAuthentication((
LazyAsyncResult
)state);
591
LazyAsyncResult
lazyResult = (
LazyAsyncResult
)m_PendingIO[m_PendingIO.Count-1];
685
if (((
LazyAsyncResult
) result.AsyncState).InternalPeekCompleted)
687
((
LazyAsyncResult
) result.AsyncState).InvokeCallback(exception);
net\System\Net\Cache\_SingleItemRequestCache.cs (6)
350
LazyAsyncResult
ar = new LazyAsyncResult(null, state, callback);
358
LazyAsyncResult
ar = (
LazyAsyncResult
) asyncResult;
519
LazyAsyncResult
ar = new LazyAsyncResult(null, state, callback);
527
LazyAsyncResult
ar = (
LazyAsyncResult
) asyncResult;
net\System\Net\filewebrequest.cs (12)
43
private
LazyAsyncResult
m_WriteAResult;
44
private
LazyAsyncResult
m_ReadAResult;
303
LazyAsyncResult
ar = asyncResult as
LazyAsyncResult
;
337
LazyAsyncResult
ar = asyncResult as
LazyAsyncResult
;
427
LazyAsyncResult
asyncResult = (
LazyAsyncResult
) state;
458
LazyAsyncResult
asyncResult = (
LazyAsyncResult
) state;
520
LazyAsyncResult
readAResult = m_ReadAResult;
521
LazyAsyncResult
writeAResult = m_WriteAResult;
net\System\Net\FtpWebRequest.cs (8)
237
private
LazyAsyncResult
m_ReadAsyncResult;
238
private
LazyAsyncResult
m_RequestCompleteAsyncResult;
814
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
1017
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
1560
LazyAsyncResult
writeResult;
1561
LazyAsyncResult
readResult;
net\System\Net\HttpWebRequest.cs (21)
151
private
LazyAsyncResult
_WriteAResult;
152
private
LazyAsyncResult
_ReadAResult;
155
private
LazyAsyncResult
_ConnectionAResult;
157
private
LazyAsyncResult
_ConnectionReaderAResult;
806
internal
LazyAsyncResult
ConnectionAsyncResult {
813
internal
LazyAsyncResult
ConnectionReaderAsyncResult {
1475
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
2066
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
3187
LazyAsyncResult
writeAResult = null;
3188
LazyAsyncResult
readAResult = null;
3208
LazyAsyncResult
chkConnectionAsyncResult = ConnectionAsyncResult;
3209
LazyAsyncResult
chkReaderAsyncResult = ConnectionReaderAsyncResult;
3324
LazyAsyncResult
asyncResult = _WriteAResult;
3631
LazyAsyncResult
chkConnectionAsyncResult = ConnectionAsyncResult;
3632
LazyAsyncResult
chkReaderAsyncResult = ConnectionReaderAsyncResult;
3725
LazyAsyncResult
chkConnectionAsyncResult = ConnectionAsyncResult;
3726
LazyAsyncResult
chkReaderAsyncResult = ConnectionReaderAsyncResult;
3920
LazyAsyncResult
writeAResult;
3921
LazyAsyncResult
readAResult = null;
net\System\Net\mail\Message.cs (5)
258
internal EmptySendContext(BaseWriter writer,
LazyAsyncResult
result) {
263
internal
LazyAsyncResult
result;
277
LazyAsyncResult
result = new LazyAsyncResult(this,state,callback);
295
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
net\System\Net\mail\MimeBasePart.cs (1)
232
LazyAsyncResult
castedAsyncResult = asyncResult as MimePartAsyncResult;
net\System\Net\mail\MimeMultiPart.cs (2)
184
internal MimePartContext(BaseWriter writer,
LazyAsyncResult
result, IEnumerator<MimeBasePart> partsEnumerator) {
192
internal
LazyAsyncResult
result;
net\System\Net\mail\MimePart.cs (2)
264
internal MimePartContext(BaseWriter writer,
LazyAsyncResult
result)
272
internal
LazyAsyncResult
result;
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (2)
435
LazyAsyncResult
asyncResult = (
LazyAsyncResult
)param;
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (2)
91
public
LazyAsyncResult
UserAsyncResult;
102
public AsyncProtocolRequest(
LazyAsyncResult
userAsyncResult)
net\System\Net\SecureProtocols\_NegoState.cs (15)
381
internal void ProcessAuthentication(
LazyAsyncResult
lazyResult)
423
LazyAsyncResult
lazyResult = result as
LazyAsyncResult
;
488
private void StartSendBlob(byte[] message,
LazyAsyncResult
lazyResult)
596
private void CheckCompletionBeforeNextReceive(
LazyAsyncResult
lazyResult)
612
private void StartReceiveBlob(
LazyAsyncResult
lazyResult)
633
private void ProcessReceivedBlob(byte[] message,
LazyAsyncResult
lazyResult)
678
private void CheckCompletionBeforeNextSend(byte[] message,
LazyAsyncResult
lazyResult)
701
private void StartSendAuthResetSignal(
LazyAsyncResult
lazyResult, byte[] message, Exception exception)
739
GlobalLog.Assert(transportResult.AsyncState is
LazyAsyncResult
, "WriteCallback|State type is wrong, expected LazyAsyncResult.");
745
LazyAsyncResult
lazyResult = (
LazyAsyncResult
) transportResult.AsyncState;
775
GlobalLog.Assert(transportResult.AsyncState is
LazyAsyncResult
, "ReadCallback|State type is wrong, expected LazyAsyncResult.");
781
LazyAsyncResult
lazyResult = (
LazyAsyncResult
) transportResult.AsyncState;
net\System\Net\SecureProtocols\_SslState.cs (18)
559
internal void ProcessAuthentication(
LazyAsyncResult
lazyResult)
700
LazyAsyncResult
lazyResult = result as
LazyAsyncResult
;
728
internal void InternalEndProcessAuthentication(
LazyAsyncResult
lazyResult)
1119
LazyAsyncResult
lazyResult = null;
1170
if (obj is
LazyAsyncResult
)
1172
((
LazyAsyncResult
)obj).InvokeCallback();
1195
LazyAsyncResult
lazyResult = null;
1244
LazyAsyncResult
ar = _QueuedReadStateRequest as
LazyAsyncResult
;
1273
LazyAsyncResult
lazyResult = null;
1317
if (obj is
LazyAsyncResult
)
1320
((
LazyAsyncResult
)obj).InvokeCallback();
1351
LazyAsyncResult
lazyResult = null;
1410
if (obj is
LazyAsyncResult
)
1413
((
LazyAsyncResult
)obj).InvokeCallback();
1723
LazyAsyncResult
lazyAsyncResult = (
LazyAsyncResult
)result;
net\System\Net\SecureProtocols\_SslStream.cs (5)
171
LazyAsyncResult
lazyResult = new LazyAsyncResult(this, asyncState, asyncCallback);
181
LazyAsyncResult
lazyResult = new LazyAsyncResult(this, asyncState, asyncCallback);
195
LazyAsyncResult
lazyResult = asyncResult as
LazyAsyncResult
;
1051
internal SplitWriteAsyncProtocolRequest(
LazyAsyncResult
userAsyncResult): base (userAsyncResult)
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
156
LazyAsyncResult
result = new LazyAsyncResult(_NegoState, asyncState, asyncCallback);
247
LazyAsyncResult
result = new LazyAsyncResult(_NegoState, asyncState, asyncCallback);
net\System\Net\SecureProtocols\SslStream.cs (2)
167
LazyAsyncResult
result = new LazyAsyncResult(_SslState, asyncState, asyncCallback);
228
LazyAsyncResult
result = new LazyAsyncResult(_SslState, asyncState, asyncCallback);
net\System\Net\Sockets\Socket.cs (14)
2857
private void DoBeginConnect(EndPoint endPointSnapshot, SocketAddress socketAddress,
LazyAsyncResult
asyncResult)
2975
LazyAsyncResult
asyncResult = (
LazyAsyncResult
) m_AcceptQueueOrConnectResult;
3364
LazyAsyncResult
castedAsyncResult = asyncResult as
LazyAsyncResult
;
5043
private void DoBeginAccept(
LazyAsyncResult
asyncResult)
5170
LazyAsyncResult
asyncResult = null;
5176
asyncResult = (
LazyAsyncResult
) acceptQueue.Dequeue();
5207
LazyAsyncResult
asyncResult = null;
5235
asyncResult = (
LazyAsyncResult
) acceptQueue.Peek();
6106
LazyAsyncResult
castedAsyncResult = null;
6278
LazyAsyncResult
connectResult = m_AcceptQueueOrConnectResult as
LazyAsyncResult
;
6402
ThreadPool.UnsafeQueueUserWorkItem(new WaitCallback(((
LazyAsyncResult
)m_AcceptQueueOrConnectResult).InvokeCallback), new SocketException(SocketError.OperationAborted));
net\System\Net\Sockets\TCPListener.cs (4)
288
LazyAsyncResult
lazyResult = asyncResult as
LazyAsyncResult
;
321
LazyAsyncResult
lazyResult = asyncResult as
LazyAsyncResult
;
net\System\Net\webclient.cs (4)
1798
LazyAsyncResult
lazyAsyncResult = (
LazyAsyncResult
) result;
1869
LazyAsyncResult
lazyAsyncResult = (
LazyAsyncResult
) result;