1 write to AsyncCallback
System.Net.Requests (1)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (1)
240AsyncCallback = closureCopy.AsyncCallback;
6 references to AsyncCallback
System.Net.Requests (6)
src\libraries\Common\src\System\Net\ContextAwareResult.cs (6)
144Debug.Assert(AsyncCallback != null || (_flags & StateFlags.CaptureContext) != 0, "No context captured - specify a callback or forceCaptureContext."); 230if (!closureCopy.IsCompatible(AsyncCallback)) 248if (closure == null && AsyncCallback != null && cachedContext != null) 250closure = new CallbackClosure(cachedContext, AsyncCallback); 273bool capturingContext = AsyncCallback != null || (_flags & StateFlags.CaptureContext) != 0; 313Debug.Assert(AsyncCallback == null || CompletedSynchronously, "Didn't capture context, but didn't complete synchronously!");