1 write to _pieceStreamInfoList
WindowsBase (1)
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (1)
171
_pieceStreamInfoList
= new List<PieceStreamInfo>(sortedPieceInfoList.Count);
14 references to _pieceStreamInfoList
WindowsBase (14)
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (14)
172
_pieceStreamInfoList
.Add(
208
int pieceNumber =
_pieceStreamInfoList
.BinarySearch(temporaryPieceInfo);
309
_pieceStreamInfoList
.RemoveRange(_indexOfLastPieceStreamInfoAccessed + 1,
_pieceStreamInfoList
.Count - (_indexOfLastPieceStreamInfoAccessed + 1));
323
_pieceStreamInfoList
[i].Stream.Flush();
340
_pieceStreamInfoList
[i].Stream.Close();
381
return
_pieceStreamInfoList
[pieceNumber];
388
PieceStreamInfo currentPieceStreamInfo =
_pieceStreamInfoList
[_indexOfLastPieceStreamInfoAccessed];
416
_pieceStreamInfoList
.Add(currentPieceStreamInfo);
418
return
_pieceStreamInfoList
[pieceNumber];
455
if (_lastPieceIndex == 0 &&
_pieceStreamInfoList
[0].Stream.Length == 0)
464
_pieceStreamInfoList
.Clear();
495
Invariant.Assert(
_pieceStreamInfoList
.Count == 0);
496
_pieceStreamInfoList
.Add(new PieceStreamInfo(pieceStream, 0 /*startOffset*/));