4 writes to _capacity
mscorlib (4)
system\io\memorystream.cs (4)
77
_capacity
= capacity;
93
_length =
_capacity
= buffer.Length;
121
_length =
_capacity
= index + count;
308
_capacity
= value;
9 references to _capacity
mscorlib (9)
system\io\memorystream.cs (9)
171
if (value >
_capacity
) {
177
if (newCapacity <
_capacity
* 2)
178
newCapacity =
_capacity
* 2;
181
if ((uint)(
_capacity
* 2) > Array.MaxByteArrayLength)
286
return
_capacity
- _origin;
292
Contract.Ensures(
_capacity
- _origin == value);
299
if (_expandable && value !=
_capacity
) {
578
if (i >
_capacity
) {
641
if (newLength >=
_capacity
) {