1 write to Offset
PresentationCore (1)
MS\Internal\IO\Packaging\NetStream.cs (1)
777block.Offset = data.End;
27 references to Offset
PresentationCore (27)
MS\Internal\IO\Packaging\NetStream.cs (27)
613if (block.Offset > (Int32.MaxValue - block.Length + 1)) 625block.Offset, block.Length, _additionalRequestMinSize); 633System.Diagnostics.Trace.TraceInformation("NetStream.MakeByteRangeRequest() offset:{0} length:{1}", block.Offset, block.Length); 648ranges[0, 0] = (int)block.Offset; 729if ((data.Offset <= block.Offset) && (data.End > block.Offset)) 730bytesAvailable = Math.Min(block.Length, (int)(data.End - block.Offset)); 733if (bytesAvailable > 0 || data.Offset >= block.End) 764if (block.End <= data.Offset) 768if ((block.Offset >= data.Offset) && 769(data.End > block.Offset)) 776bytesAvailable = (int)(data.End - block.Offset); 783if ((block.Offset <= data.Offset) && 784(block.End > data.Offset) && (block.End <= data.End)) 786block.Length = (int)(data.Offset - block.Offset); 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); 1066&& (block.Offset > _highWaterMark + (long) _additionalRequestThreshold) 1146block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.Offset);