1 write to m_handle
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
658
sd.
m_handle
= System.Runtime.InteropServices.GCHandle.Alloc(sais, System.Runtime.InteropServices.GCHandleType.Normal);
5 references to m_handle
PresentationCore (5)
System\Windows\Media\StreamAsIStream.cs (5)
54
Debug.Assert(((IntPtr)pSD.
m_handle
) != IntPtr.Zero, "If this asserts fires: why is it firing. It might be legal in future.");
55
StreamAsIStream sais = (StreamAsIStream)(pSD.
m_handle
.Target);
56
((System.Runtime.InteropServices.GCHandle)(pSD.
m_handle
)).Free();
510
Debug.Assert(((IntPtr)sd.
m_handle
) != IntPtr.Zero, "Stream is disposed.");
511
System.Runtime.InteropServices.GCHandle handle = (System.Runtime.InteropServices.GCHandle)(sd.
m_handle
);