1 write to buffer
System.Windows.Forms (1)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
6585
buffer
= new char[size];
13 references to buffer
System.Windows.Forms (13)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (13)
6590
IntPtr result = Marshal.AllocCoTaskMem(
buffer
.Length * 2);
6591
Marshal.Copy(
buffer
, 0, result,
buffer
.Length);
6598
while (i <
buffer
.Length &&
buffer
[i] != 0) i++;
6599
string result = new string(
buffer
, offset, i - offset);
6600
if (i <
buffer
.Length) i++;
6607
Marshal.Copy(ptr,
buffer
, 0,
buffer
.Length);
6613
int count = Math.Min(s.Length,
buffer
.Length - offset);
6614
s.CopyTo(0,
buffer
, offset, count);
6616
if (offset <
buffer
.Length)
buffer
[offset++] = (char)0;