3 writes to _mem
mscorlib (3)
system\io\unmanagedmemorystream.cs (3)
116
_mem
= null;
250
_mem
= pointer;
277
unsafe {
_mem
= null; }
14 references to _mem
mscorlib (14)
system\io\unmanagedmemorystream.cs (14)
340
if (value > (long) Int32.MaxValue ||
_mem
+ value <
_mem
)
360
byte * ptr =
_mem
+ pos;
372
if (new IntPtr(value -
_mem
).ToInt64() > UnmanagedMemStreamMaxLength)
374
if (value <
_mem
)
377
Interlocked.Exchange(ref _position, value -
_mem
);
387
return
_mem
;
438
Buffer.Memcpy(buffer, offset,
_mem
+ pos, 0, nInt);
504
result =
_mem
[pos];
561
Buffer.ZeroMemory(
_mem
+len, value-len);
601
Buffer.ZeroMemory(
_mem
+len, pos-len);
634
Buffer.Memcpy(
_mem
+ pos, 0, buffer, offset, count);
695
Buffer.ZeroMemory(
_mem
+len, pos-len);
721
_mem
[pos] = value;