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 529System.Diagnostics.Trace.TraceInformation("NetStream.ReadCallBack (offset,length):({0},{1})", _highWaterMark, read); 533_tempFileStream.Seek(_highWaterMark, SeekOrigin.Begin); 556_fullStreamLength = _highWaterMark; 560if (_fullStreamLength == _highWaterMark) 676_byteRangesAvailable.Insert(0, new Block(0, (int)_highWaterMark)); 951if (_highWaterMark > block.Offset) 952bytesAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1015if (_highWaterMark > block.Offset) 1016dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.Offset); 1046if (_highWaterMark > block.Offset) 1048dataAvailable = (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)