2 writes to _highWaterMark
PresentationCore (2)
MS\Internal\IO\Packaging\NetStream.cs (2)
472
_highWaterMark
= 0;
551
_highWaterMark
+= read; // update the high-water mark
14 references to _highWaterMark
PresentationCore (14)
MS\Internal\IO\Packaging\NetStream.cs (14)
340
_position =
_highWaterMark
; // make sure we get the full length in case they seek'd before call get_Length
540
System.Diagnostics.Trace.TraceInformation("NetStream.ReadCallBack (offset,length):({0},{1})",
_highWaterMark
, read);
544
_tempFileStream.Seek(
_highWaterMark
, SeekOrigin.Begin);
567
_fullStreamLength =
_highWaterMark
;
571
if (_fullStreamLength ==
_highWaterMark
)
686
_byteRangesAvailable.Insert(0, new Block(0, (int)
_highWaterMark
));
961
if (
_highWaterMark
> block.Offset)
962
bytesAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1025
if (
_highWaterMark
> block.Offset)
1026
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1056
if (
_highWaterMark
> block.Offset)
1058
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1075
&& (
_highWaterMark
<= Int64.MaxValue - (long) _additionalRequestThreshold) // Ensure that we don't get overflow from the next line
1076
&& (block.Offset >
_highWaterMark
+ (long) _additionalRequestThreshold)