3 instantiations of OverlappedContext
System.ServiceModel (3)
System\ServiceModel\Channels\PipeConnection.cs (3)
98
this.readOverlapped = new
OverlappedContext
();
100
this.writeOverlapped = new
OverlappedContext
();
2216
overlapped = new
OverlappedContext
();
29 references to OverlappedContext
System.ServiceModel (29)
System\ServiceModel\Channels\OverlappedContext.cs (26)
49
if (
OverlappedContext
.completeCallback == null)
51
OverlappedContext
.completeCallback = Fx.ThunkCallback(new IOCompletionCallback(CompleteCallback));
53
if (
OverlappedContext
.eventCallback == null)
55
OverlappedContext
.eventCallback = Fx.ThunkCallback(new WaitOrTimerCallback(EventCallback));
57
if (
OverlappedContext
.cleanupCallback == null)
59
OverlappedContext
.cleanupCallback = Fx.ThunkCallback(new WaitOrTimerCallback(CleanupCallback));
62
this.bufferHolder = new object[] {
OverlappedContext
.dummyBuffer };
64
this.nativeOverlapped = this.overlapped.UnsafePack(
OverlappedContext
.completeCallback, this.bufferHolder);
85
Fx.Assert(
OverlappedContext
.cleanupCallback != null, "cleanupCallback null in Finalize.");
91
ThreadPool.UnsafeRegisterWaitForSingleObject(this.rootedHolder.EventHolder,
OverlappedContext
.cleanupCallback, this, Timeout.Infinite, true);
186
Fx.Assert(object.ReferenceEquals(this.bufferHolder[0],
OverlappedContext
.dummyBuffer), "StartAsyncOperation: buffer holder corrupted.");
210
this.registration = ThreadPool.UnsafeRegisterWaitForSingleObject(this.completionEvent,
OverlappedContext
.eventCallback, this, Timeout.Infinite, true);
224
this.bufferHolder[0] =
OverlappedContext
.dummyBuffer;
259
Fx.Assert(object.ReferenceEquals(holder,
OverlappedContext
.dummyBuffer), "StartSyncOperation: buffer holder corrupted.");
289
ThreadPool.UnsafeRegisterWaitForSingleObject(this.completionEvent,
OverlappedContext
.cleanupCallback, this, Timeout.Infinite, true);
311
holder =
OverlappedContext
.dummyBuffer;
312
Fx.Assert(object.ReferenceEquals(this.bufferHolder[0],
OverlappedContext
.dummyBuffer), "Bad holder passed to CancelSyncOperation.");
376
OverlappedContext
pThis = ((RootedHolder)overlapped.AsyncResult).ThisHolder;
387
pThis.bufferHolder[0] =
OverlappedContext
.dummyBuffer;
399
OverlappedContext
pThis = state as
OverlappedContext
;
423
pThis.bufferHolder[0] =
OverlappedContext
.dummyBuffer;
435
OverlappedContext
pThis = state as
OverlappedContext
;
460
OverlappedContext
overlappedBuffer;
464
public
OverlappedContext
ThisHolder
System\ServiceModel\Channels\PipeConnection.cs (3)
47
OverlappedContext
readOverlapped;
62
OverlappedContext
writeOverlapped;
2202
OverlappedContext
overlapped;