3 writes to _persistedSize
WindowsBase (3)
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (3)
351
_persistedSize
= persistedSize;
431
checked{
_persistedSize
+= _sparseMemoryStreamSuffix.Length;}
511
_persistedSize
= newPersistedSize;
14 references to _persistedSize
WindowsBase (14)
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (14)
107
if (newLength <=
_persistedSize
)
126
_sparseMemoryStreamSuffix.SetLength(newLength -
_persistedSize
); // no need for checked as it was verified above
206
if (newStreamPosition <
_persistedSize
)
213
persistedTailSize = Math.Min(_currentStreamLength,
_persistedSize
) - newStreamPosition;
241
if ((_sparseMemoryStreamSuffix != null) && (newStreamPosition + count >
_persistedSize
))
245
_sparseMemoryStreamSuffix.Seek(newStreamPosition -
_persistedSize
, SeekOrigin.Begin);
289
if (newStreamPosition <
_persistedSize
)
298
diskBytesToWrite = (int) (Math.Min(count,
_persistedSize
- newStreamPosition)); // this is a safe cast as count has int type
307
if (newStreamPosition + count >
_persistedSize
)
314
_sparseMemoryStreamSuffix.Seek(newStreamPosition -
_persistedSize
, SeekOrigin.Begin);
369
Math.Min(
_persistedSize
, _currentStreamLength), // in case the stream is smaller then our persisted block on
456
long moveBlockSize = Math.Min(
_persistedSize
, _currentStreamLength);
495
if (_blockManager.Stream.Position != checked (_offset +
_persistedSize
))
498
_blockManager.Stream.Seek(_offset +
_persistedSize
, SeekOrigin.Begin);