1 write to _buffer
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\UnicodeCharBuffer.cs (1)
15_buffer = new char[size];
13 references to _buffer
System.Windows.Forms.Primitives (13)
System\Windows\Forms\Internals\UnicodeCharBuffer.cs (13)
20IntPtr result = Marshal.AllocCoTaskMem(_buffer.Length * 2); 21Marshal.Copy(_buffer, 0, result, _buffer.Length); 28while (i < _buffer.Length && _buffer[i] != 0) 33string result = new(_buffer, _offset, i - _offset); 34if (i < _buffer.Length) 45Marshal.Copy(ptr, _buffer, 0, _buffer.Length); 51int count = Math.Min(s.Length, _buffer.Length - _offset); 52s.CopyTo(0, _buffer, _offset, count); 54if (_offset < _buffer.Length) 56_buffer[_offset++] = (char)0;