1 write to m_handle
PresentationCore (1)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
795
sd.
m_handle
= System.Runtime.InteropServices.GCHandle.Alloc(sais, System.Runtime.InteropServices.GCHandleType.Normal);
5 references to m_handle
PresentationCore (5)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (5)
91
Debug.Assert(((IntPtr)pSD.
m_handle
) != IntPtr.Zero, "If this asserts fires: why is it firing. It might be legal in future.");
92
StreamAsIStream sais = (StreamAsIStream)(pSD.
m_handle
.Target);
93
((System.Runtime.InteropServices.GCHandle)(pSD.
m_handle
)).Free();
626
Debug.Assert(((IntPtr)sd.
m_handle
) != IntPtr.Zero, "Stream is disposed.");
627
System.Runtime.InteropServices.GCHandle handle = (System.Runtime.InteropServices.GCHandle)(sd.
m_handle
);