2 writes to _overlapped
mscorlib (2)
system\io\filestream.cs (2)
156
_overlapped
= overlapped.Pack(ioCallback, bytes);
160
_overlapped
= overlapped.UnsafePack(null, bytes);
10 references to _overlapped
mscorlib (10)
system\io\filestream.cs (10)
94
internal NativeOverlapped* OverLapped { [SecurityCritical]get { return
_overlapped
; } }
95
internal bool IsAsync { [SecuritySafeCritical]get { return
_overlapped
!= null; } }
163
Contract.Assert(
_overlapped
!= null, "Did Overlapped.Pack or Overlapped.UnsafePack just return a null?");
210
if (
_overlapped
!= null &&
_overlapped
->EventHandle != IntPtr.Zero) {
211
mre.SafeWaitHandle = new SafeWaitHandle(
_overlapped
->EventHandle, true);
287
if (this.
_overlapped
!= null)
288
Overlapped.Free(
_overlapped
);
373
Contract.Assert(
_overlapped
!= null, "Cancel should only be called on true asynchronous FileStreamAsyncResult, i.e. _overlapped is not null");
381
bool r = Win32Native.CancelIoEx(_handle,
_overlapped
);