10 writes to ptd
PresentationCore (2)
System\Windows\dataobject.cs (2)
609pformatetcOut.ptd = IntPtr.Zero; 2278temp.ptd = IntPtr.Zero;
System.Windows.Forms (5)
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (2)
48ptd = 0, 75ptd = 0,
System\Windows\Forms\OLE\DragDropHelper.cs (3)
166ptd = IntPtr.Zero, 271ptd = IntPtr.Zero, 427ptd = IntPtr.Zero,
System.Windows.Forms.Tests (3)
System\Windows\Forms\DragDropFormatTests.cs (2)
30ptd = nint.Zero, 53ptd = nint.Zero,
System\Windows\Forms\DragDropHelperTests.cs (1)
97ptd = IntPtr.Zero,
9 references to ptd
PresentationCore (2)
System\Windows\dataobject.cs (2)
2504if (formatetc[formatetcIndex].ptd != IntPtr.Zero) 2506Marshal.FreeCoTaskMem(formatetc[formatetcIndex].ptd);
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
2087result[0].ptd.Should().Be(IntPtr.Zero); 2097result[0].ptd.Should().Be(IntPtr.Zero); 2180result[0].ptd.Should().Be(IntPtr.Zero); 2190result[0].ptd.Should().Be(IntPtr.Zero); 2200result[0].ptd.Should().Be(IntPtr.Zero); 2277result[0].ptd.Should().Be(IntPtr.Zero); 2287result[0].ptd.Should().Be(IntPtr.Zero);