4 writes to _capacity
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (4)
50
_capacity
= capacity;
67
_length =
_capacity
= buffer.Length;
93
_length =
_capacity
= index + count;
288
_capacity
= value;
9 references to _capacity
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (9)
136
if (value >
_capacity
)
142
if (newCapacity <
_capacity
* 2)
144
newCapacity =
_capacity
* 2;
149
if ((uint)(
_capacity
* 2) > Array.MaxLength)
258
return
_capacity
- _origin;
273
if (_expandable && value !=
_capacity
)
593
if (i >
_capacity
)
644
if (i >
_capacity
)
726
if (newLength >=
_capacity
)