2 writes to lpstrText
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1987txrg.lpstrText = charBuffer.AllocCoTaskMem(); 3186txrg.lpstrText = unmanagedBuffer;
6 references to lpstrText
System.Windows.Forms (5)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
1988if (txrg.lpstrText == 0) 2040charBuffer.PutCoTaskMem(txrg.lpstrText); 2085if (txrg.lpstrText != IntPtr.Zero) 2087Marshal.FreeCoTaskMem(txrg.lpstrText); 3190if (txrg.lpstrText != 0)
System.Windows.Forms.Interop.Tests (1)
RichTextBoxTests.cs (1)
159Assert.Equal("Fine Text", Marshal.PtrToStringAnsi(value.lpstrText));