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)
64
return
_currentStreamLength
;
95
if (
_currentStreamLength
!= newLength)
107
if (
_currentStreamLength
> newLength)
141
if (_currentStreamPosition >
_currentStreamLength
)
142
_currentStreamPosition =
_currentStreamLength
;
168
checked { newStreamPosition =
_currentStreamLength
+ offset; }
197
if (
_currentStreamLength
<= _currentStreamPosition)
204
int bytesToRead = (int) Math.Min((long)count,
_currentStreamLength
- _currentStreamPosition);
292
_currentStreamLength = Math.Max(
_currentStreamLength
, _currentStreamPosition);
758
if (trackingPosition <
_currentStreamLength
)
759
trackingPosition = SkipWrite(targetStream, trackingPosition,
_currentStreamLength
);
761
Debug.Assert(trackingPosition ==
_currentStreamLength
);