Base:
property
Length
System.IO.Stream.Length
15 references to Length
WindowsBase (15)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
249if (_writeCache.Length > Length) 252SetLength(_writeCache.Length);
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (2)
679checked{onDiskOffset += cachePrefixStream.Length;} 680checked{onDiskSize -= cachePrefixStream.Length;}
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (7)
431checked{_persistedSize += _sparseMemoryStreamSuffix.Length;} 465checked{moveBlockSourceOffset += _cachePrefixStream.Length;} 466checked{moveBlockTargetOffset += _cachePrefixStream.Length;} 467checked{moveBlockSize -= _cachePrefixStream.Length;} 480Debug.Assert(_cachePrefixStream.Length > 0); // should be taken care of by the constructor 484checked{newPersistedSize += _cachePrefixStream.Length;} 501checked{newPersistedSize += _sparseMemoryStreamSuffix.Length;}
Base\MS\Internal\IO\Zip\ZipIORawDataFileBlock.cs (4)
91checked{moveBlockSourceOffset += _cachePrefixStream.Length;} 92checked{moveBlockTargetOffset += _cachePrefixStream.Length;} 93checked{moveBlockSize -= _cachePrefixStream.Length;} 108Debug.Assert(_cachePrefixStream.Length > 0); // should be taken care of by the constructor