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)
171if (value > _capacity) { 177if (newCapacity < _capacity * 2) 178newCapacity = _capacity * 2; 181if ((uint)(_capacity * 2) > Array.MaxByteArrayLength) 286return _capacity - _origin; 292Contract.Ensures(_capacity - _origin == value); 299if (_expandable && value != _capacity) { 578if (i > _capacity) { 641if (newLength >= _capacity) {