3 instantiations of Block
PresentationCore (3)
MS\Internal\IO\Packaging\NetStream.cs (3)
145
int 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)
606
private void MakeByteRangeRequest(
Block
block)
711
private int BytesInByteRangeAvailable(
Block
block)
725
foreach (
Block
data in _byteRangesAvailable)
750
private int TrimByteRangeRequest(
Block
block)
760
foreach (
Block
data in _byteRangesAvailable)
856
Block
b = (
Block
)x;
877
internal bool Mergeable(
Block
b)
889
internal void Merge(
Block
b)
913
Block
b = (
Block
)ranges[i];
916
while (b.Mergeable((
Block
)ranges[i + 1]))
918
b.Merge((
Block
)ranges[i + 1]);
936
private int HandleByteRangeReadEvent(
Block
block)
992
private int HandleFullDownloadReadEvent(
Block
block)
1031
private int GetData(
Block
block)
1140
private void TrimBlockToStreamLength(
Block
block)