3 instantiations of Block
PresentationCore (3)
MS\Internal\IO\Packaging\NetStream.cs (3)
151
int bytesAvailable = GetData(new
Block
(_position, count));
686
_byteRangesAvailable.Insert(0, new
Block
(0, (int)_highWaterMark));
693
_byteRangesAvailable.Add(new
Block
(ranges[r,0], ranges[r,1]));
17 references to Block
PresentationCore (17)
MS\Internal\IO\Packaging\NetStream.cs (17)
616
private void MakeByteRangeRequest(
Block
block)
721
private int BytesInByteRangeAvailable(
Block
block)
735
foreach (
Block
data in _byteRangesAvailable)
760
private int TrimByteRangeRequest(
Block
block)
770
foreach (
Block
data in _byteRangesAvailable)
866
Block
b = (
Block
)x;
887
internal bool Mergeable(
Block
b)
899
internal void Merge(
Block
b)
923
Block
b = (
Block
)ranges[i];
926
while (b.Mergeable((
Block
)ranges[i + 1]))
928
b.Merge((
Block
)ranges[i + 1]);
946
private int HandleByteRangeReadEvent(
Block
block)
1002
private int HandleFullDownloadReadEvent(
Block
block)
1041
private int GetData(
Block
block)
1150
private void TrimBlockToStreamLength(
Block
block)