4 writes to Length
PresentationCore (4)
MS\Internal\IO\Packaging\NetStream.cs (4)
637
block.
Length
= _additionalRequestMinSize;
789
block.
Length
-= bytesAvailable;
796
block.
Length
= (int)(data.Offset - block.Offset);
1156
block.
Length
= (int)Math.Min(block.Length, _fullStreamLength - block.Offset);
18 references to Length
PresentationCore (18)
MS\Internal\IO\Packaging\NetStream.cs (18)
623
if (block.Offset > (Int32.MaxValue - block.
Length
+ 1))
630
if (block.
Length
< _additionalRequestMinSize)
635
block.Offset, block.
Length
, _additionalRequestMinSize);
643
System.Diagnostics.Trace.TraceInformation("NetStream.MakeByteRangeRequest() offset:{0} length:{1}", block.Offset, block.
Length
);
653
if (block.
Length
> 0)
659
ranges[0, 1] = block.
Length
;
740
bytesAvailable = Math.Min(block.
Length
, (int)(data.End - block.Offset));
783
bytesAvailable = block.
Length
;
952
Debug.Assert(block.
Length
> 0);
962
bytesAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
965
if (bytesAvailable == block.
Length
)
1009
dataAvailable = block.
Length
;
1026
dataAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
1044
if (block.
Length
== 0)
1052
Debug.Assert(block.
Length
> 0);
1058
dataAvailable = (int)Math.Min(block.
Length
, _highWaterMark - block.Offset);
1077
&& ((_byteRangeDownloader == null) || !_byteRangeDownloader.ErroredOut) && (block.
Length
> 0))
1156
block.Length = (int)Math.Min(block.
Length
, _fullStreamLength - block.Offset);