4 writes to Length
PresentationCore (4)
MS\Internal\IO\Packaging\NetStream.cs (4)
620block.Length = _additionalRequestMinSize; 772block.Length -= bytesAvailable; 779block.Length = (int)(data.Offset - block.Offset); 1139block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.Offset);
16 references to Length
PresentationCore (16)
MS\Internal\IO\Packaging\NetStream.cs (16)
606if (block.Offset > (Int32.MaxValue - block.Length + 1)) 613if (block.Length < _additionalRequestMinSize) 636if (block.Length > 0) 642ranges[0, 1] = block.Length; 723bytesAvailable = Math.Min(block.Length, (int)(data.End - block.Offset)); 766bytesAvailable = block.Length; 935Debug.Assert(block.Length > 0); 945bytesAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 948if (bytesAvailable == block.Length) 992dataAvailable = block.Length; 1009dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1027if (block.Length == 0) 1035Debug.Assert(block.Length > 0); 1041dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1060&& ((_byteRangeDownloader == null) || !_byteRangeDownloader.ErroredOut) && (block.Length > 0)) 1139block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.Offset);