2 writes to _highWaterMark
PresentationCore (2)
MS\Internal\IO\Packaging\NetStream.cs (2)
454
_highWaterMark
= 0;
533
_highWaterMark
+= read; // update the high-water mark
14 references to _highWaterMark
PresentationCore (14)
MS\Internal\IO\Packaging\NetStream.cs (14)
333
_position =
_highWaterMark
; // make sure we get the full length in case they seek'd before call get_Length
522
System.Diagnostics.Trace.TraceInformation("NetStream.ReadCallBack (offset,length):({0},{1})",
_highWaterMark
, read);
526
_tempFileStream.Seek(
_highWaterMark
, SeekOrigin.Begin);
549
_fullStreamLength =
_highWaterMark
;
553
if (_fullStreamLength ==
_highWaterMark
)
669
_byteRangesAvailable.Insert(0, new Block(0, (int)
_highWaterMark
));
944
if (
_highWaterMark
> block.Offset)
945
bytesAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1008
if (
_highWaterMark
> block.Offset)
1009
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1039
if (
_highWaterMark
> block.Offset)
1041
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1058
&& (
_highWaterMark
<= Int64.MaxValue - (long) _additionalRequestThreshold) // Ensure that we don't get overflow from the next line
1059
&& (block.Offset >
_highWaterMark
+ (long) _additionalRequestThreshold)