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)
20
IntPtr result = Marshal.AllocCoTaskMem(
_buffer
.Length * 2);
21
Marshal.Copy(
_buffer
, 0, result,
_buffer
.Length);
28
while (i <
_buffer
.Length &&
_buffer
[i] != 0)
33
string result = new(
_buffer
, _offset, i - _offset);
34
if (i <
_buffer
.Length)
45
Marshal.Copy(ptr,
_buffer
, 0,
_buffer
.Length);
51
int count = Math.Min(s.Length,
_buffer
.Length - _offset);
52
s.CopyTo(0,
_buffer
, _offset, count);
54
if (_offset <
_buffer
.Length)
56
_buffer
[_offset++] = (char)0;