1 write to buffer
WindowsBase (1)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
6238
buffer
= new char[size];
14 references to buffer
WindowsBase (14)
Shared\MS\Win32\NativeMethodsCLR.cs (14)
6243
get { return
buffer
.Length; }
6248
IntPtr result = Marshal.AllocCoTaskMem(
buffer
.Length * 2);
6249
Marshal.Copy(
buffer
, 0, result,
buffer
.Length);
6257
while (i <
buffer
.Length &&
buffer
[i] != 0)
6260
string result = new string(
buffer
, offset, i - offset);
6262
if (i <
buffer
.Length)
6271
Marshal.Copy(ptr,
buffer
, 0,
buffer
.Length);
6277
int count = Math.Min(s.Length,
buffer
.Length - offset);
6279
s.CopyTo(0,
buffer
, offset, count);
6282
if (offset <
buffer
.Length)
6283
buffer
[offset++] = (char)0;