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