4 writes to Length
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (4)
692
block.
Length
= _additionalRequestMinSize;
844
block.
Length
-= bytesAvailable;
851
block.
Length
= (int)(data.Offset - block.Offset);
1218
block.
Length
= (int)Math.Min(block.Length, _fullStreamLength - block.Offset);
16 references to Length
PresentationCore (16)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (16)
678
if (block.Offset > (Int32.MaxValue - block.
Length
+ 1))
685
if (block.
Length
< _additionalRequestMinSize)
708
if (block.
Length
> 0)
714
ranges[0, 1] = block.
Length
;
795
bytesAvailable = Math.Min(block.
Length
, (int)(data.End - block.Offset));
838
bytesAvailable = block.
Length
;
1007
Debug.Assert(block.
Length
> 0);
1017
bytesAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
1020
if (bytesAvailable == block.
Length
)
1064
dataAvailable = block.
Length
;
1081
dataAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
1106
if (block.
Length
== 0)
1114
Debug.Assert(block.
Length
> 0);
1120
dataAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
1139
&& ((_byteRangeDownloader == null) || !_byteRangeDownloader.ErroredOut) && (block.
Length
> 0))
1218
block.Length = (int)Math.Min(block.
Length
, _fullStreamLength - block.Offset);