2 writes to lpstrText
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1996
txrg.
lpstrText
= charBuffer.AllocCoTaskMem();
3205
txrg.
lpstrText
= unmanagedBuffer;
6 references to lpstrText
System.Windows.Forms (5)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
1997
if (txrg.
lpstrText
== 0)
2049
charBuffer.PutCoTaskMem(txrg.
lpstrText
);
2094
if (txrg.
lpstrText
!= IntPtr.Zero)
2096
Marshal.FreeCoTaskMem(txrg.
lpstrText
);
3209
if (txrg.
lpstrText
!= 0)
System.Windows.Forms.Interop.Tests (1)
RichTextBoxTests.cs (1)
159
Assert.Equal("Fine Text", Marshal.PtrToStringAnsi(value.
lpstrText
));