3 instantiations of Block
PresentationCore (3)
MS\Internal\IO\Packaging\NetStream.cs (3)
145int bytesAvailable = GetData(new Block(_position, count)); 676_byteRangesAvailable.Insert(0, new Block(0, (int)_highWaterMark)); 683_byteRangesAvailable.Add(new Block(ranges[r,0], ranges[r,1]));
17 references to Block
PresentationCore (17)
MS\Internal\IO\Packaging\NetStream.cs (17)
606private void MakeByteRangeRequest(Block block) 711private int BytesInByteRangeAvailable(Block block) 725foreach (Block data in _byteRangesAvailable) 750private int TrimByteRangeRequest(Block block) 760foreach (Block data in _byteRangesAvailable) 856Block b = (Block)x; 877internal bool Mergeable(Block b) 889internal void Merge(Block b) 913Block b = (Block)ranges[i]; 916while (b.Mergeable((Block)ranges[i + 1])) 918b.Merge((Block)ranges[i + 1]); 936private int HandleByteRangeReadEvent(Block block) 992private int HandleFullDownloadReadEvent(Block block) 1031private int GetData(Block block) 1140private void TrimBlockToStreamLength(Block block)