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