2 writes to _currentStreamLength
WindowsBase (2)
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (2)
140_currentStreamLength = newLength; 292_currentStreamLength = Math.Max(_currentStreamLength, _currentStreamPosition);
12 references to _currentStreamLength
WindowsBase (12)
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (12)
64return _currentStreamLength; 95if (_currentStreamLength != newLength) 107if (_currentStreamLength > newLength) 141if (_currentStreamPosition > _currentStreamLength) 142_currentStreamPosition = _currentStreamLength; 168checked { newStreamPosition = _currentStreamLength + offset; } 197if (_currentStreamLength <= _currentStreamPosition) 204int bytesToRead = (int) Math.Min((long)count, _currentStreamLength - _currentStreamPosition); 292_currentStreamLength = Math.Max(_currentStreamLength, _currentStreamPosition); 758if (trackingPosition < _currentStreamLength) 759trackingPosition = SkipWrite(targetStream, trackingPosition, _currentStreamLength); 761Debug.Assert(trackingPosition == _currentStreamLength);