2 writes to m_UnmanagedBlob
System (2)
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
165
m_UnmanagedBlob
= SafeOverlappedFree.Alloc(s.SafeHandle);
614
m_UnmanagedBlob
= null;
11 references to m_UnmanagedBlob
System (11)
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (11)
164
GlobalLog.Assert(
m_UnmanagedBlob
== null, "BaseOverlappedAsyncResult#{0}::SetUnmanagedStructures()|Unmanaged blob already allocated. (Called twice?)", ValidationHelper.HashString(this));
179
Marshal.WriteIntPtr(
m_UnmanagedBlob
.DangerousGetHandle(), Win32.OverlappedhEventOffset, m_OverlappedEvent.SafeWaitHandle.DangerousGetHandle() );
419
uint errorCode = (uint)Marshal.ReadInt32(IntPtrHelper.Add(asyncResult.
m_UnmanagedBlob
.DangerousGetHandle(),
421
uint numBytes = errorCode!=0 ? unchecked((uint)-1) : (uint)Marshal.ReadInt32(IntPtrHelper.Add(asyncResult.
m_UnmanagedBlob
.DangerousGetHandle(),
475
GlobalLog.Assert(
m_UnmanagedBlob
!= null, "BaseOverlappedAsyncResult#{0}::CheckAsyncCallOverlappedResult()|Unmanaged blob isn't allocated.", ValidationHelper.HashString(this));
570
return (
m_UnmanagedBlob
== null ||
m_UnmanagedBlob
.IsInvalid)? SafeOverlappedFree.Zero :
m_UnmanagedBlob
;
612
if (
m_UnmanagedBlob
!= null && !
m_UnmanagedBlob
.IsInvalid) {
613
m_UnmanagedBlob
.Close(true);