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