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