2 writes to _highWaterMark
PresentationCore (2)
MS\Internal\IO\Packaging\NetStream.cs (2)
461
_highWaterMark
= 0;
540
_highWaterMark
+= read; // update the high-water mark
14 references to _highWaterMark
PresentationCore (14)
MS\Internal\IO\Packaging\NetStream.cs (14)
334
_position =
_highWaterMark
; // make sure we get the full length in case they seek'd before call get_Length
529
System.Diagnostics.Trace.TraceInformation("NetStream.ReadCallBack (offset,length):({0},{1})",
_highWaterMark
, read);
533
_tempFileStream.Seek(
_highWaterMark
, SeekOrigin.Begin);
556
_fullStreamLength =
_highWaterMark
;
560
if (_fullStreamLength ==
_highWaterMark
)
676
_byteRangesAvailable.Insert(0, new Block(0, (int)
_highWaterMark
));
951
if (
_highWaterMark
> block.Offset)
952
bytesAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1015
if (
_highWaterMark
> block.Offset)
1016
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1046
if (
_highWaterMark
> block.Offset)
1048
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1065
&& (
_highWaterMark
<= Int64.MaxValue - (long) _additionalRequestThreshold) // Ensure that we don't get overflow from the next line
1066
&& (block.Offset >
_highWaterMark
+ (long) _additionalRequestThreshold)