1 write to m_handle
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
657
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)
53
Debug.Assert(((IntPtr)pSD.
m_handle
) != IntPtr.Zero, "If this asserts fires: why is it firing. It might be legal in future.");
54
StreamAsIStream sais = (StreamAsIStream)(pSD.
m_handle
.Target);
55
((System.Runtime.InteropServices.GCHandle)(pSD.
m_handle
)).Free();
509
Debug.Assert(((IntPtr)sd.
m_handle
) != IntPtr.Zero, "Stream is disposed.");
510
System.Runtime.InteropServices.GCHandle handle = (System.Runtime.InteropServices.GCHandle)(sd.
m_handle
);