1 write to AsyncCallback
System (1)
net\System\Net\_ContextAwareResult.cs (1)
303
AsyncCallback
= closureCopy.AsyncCallback;
6 references to AsyncCallback
System (6)
net\System\Net\_ContextAwareResult.cs (6)
161
GlobalLog.Assert(
AsyncCallback
!= null || (_Flags & StateFlags.CaptureContext) != 0, "ContextAwareResult#{0}::ContextCopy|No context captured - specify a callback or forceCaptureContext.", ValidationHelper.HashString(this));
293
if (!closureCopy.IsCompatible(
AsyncCallback
))
311
if (closure == null &&
AsyncCallback
!= null && cachedContext != null)
313
closure = new CallbackClosure(cachedContext,
AsyncCallback
);
367
bool capturingContext =
AsyncCallback
!= null || (_Flags & StateFlags.CaptureContext) != 0;
409
GlobalLog.Assert(
AsyncCallback
== null || CompletedSynchronously, "ContextAwareResult#{0}::CaptureOrComplete|Didn't capture context, but didn't complete synchronously!", ValidationHelper.HashString(this));