4 writes to Length
PresentationCore (4)
MS\Internal\IO\Packaging\NetStream.cs (4)
627block.Length = _additionalRequestMinSize; 779block.Length -= bytesAvailable; 786block.Length = (int)(data.Offset - block.Offset); 1146block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.Offset);
18 references to Length
PresentationCore (18)
MS\Internal\IO\Packaging\NetStream.cs (18)
613if (block.Offset > (Int32.MaxValue - block.Length + 1)) 620if (block.Length < _additionalRequestMinSize) 625block.Offset, block.Length, _additionalRequestMinSize); 633System.Diagnostics.Trace.TraceInformation("NetStream.MakeByteRangeRequest() offset:{0} length:{1}", block.Offset, block.Length); 643if (block.Length > 0) 649ranges[0, 1] = block.Length; 730bytesAvailable = Math.Min(block.Length, (int)(data.End - block.Offset)); 773bytesAvailable = block.Length; 942Debug.Assert(block.Length > 0); 952bytesAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 955if (bytesAvailable == block.Length) 999dataAvailable = block.Length; 1016dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1034if (block.Length == 0) 1042Debug.Assert(block.Length > 0); 1048dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1067&& ((_byteRangeDownloader == null) || !_byteRangeDownloader.ErroredOut) && (block.Length > 0)) 1146block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.Offset);