16 references to Buffer
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
30046ttt->lpszText = (char*)_toolTipBuffer.Buffer;
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1949ttt->lpszText = (char*)_toolTipBuffer.Buffer;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2976ttt->lpszText = (char*)_toolTipBuffer.Buffer;
System.Windows.Forms.Tests (13)
System\Windows\Forms\ToolTipBufferTests.cs (13)
16Assert.Equal(IntPtr.Zero, buffer.Buffer); 23IntPtr memory1 = buffer.Buffer; 27IntPtr memory2 = buffer.Buffer; 38IntPtr memory1 = buffer.Buffer; 42IntPtr memory2 = buffer.Buffer; 54Assert.Equal("text", Marshal.PtrToStringUni(buffer.Buffer)); 58IntPtr memory2 = buffer.Buffer; 73IntPtr memory1 = buffer.Buffer; 74Assert.Equal("text", Marshal.PtrToStringUni(buffer.Buffer)); 78IntPtr memory2 = buffer.Buffer; 90IntPtr memory1 = buffer.Buffer; 91Assert.Equal("text", Marshal.PtrToStringUni(buffer.Buffer)); 95IntPtr memory2 = buffer.Buffer;