2 writes to _highWaterMark
PresentationCore (2)
MS\Internal\IO\Packaging\NetStream.cs (2)
460
_highWaterMark
= 0;
539
_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
528
System.Diagnostics.Trace.TraceInformation("NetStream.ReadCallBack (offset,length):({0},{1})",
_highWaterMark
, read);
532
_tempFileStream.Seek(
_highWaterMark
, SeekOrigin.Begin);
555
_fullStreamLength =
_highWaterMark
;
559
if (_fullStreamLength ==
_highWaterMark
)
675
_byteRangesAvailable.Insert(0, new Block(0, (int)
_highWaterMark
));
950
if (
_highWaterMark
> block.Offset)
951
bytesAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1014
if (
_highWaterMark
> block.Offset)
1015
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1045
if (
_highWaterMark
> block.Offset)
1047
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1064
&& (
_highWaterMark
<= Int64.MaxValue - (long) _additionalRequestThreshold) // Ensure that we don't get overflow from the next line
1065
&& (block.Offset >
_highWaterMark
+ (long) _additionalRequestThreshold)