2 writes to _entries
PresentationFramework (2)
MS\Internal\PtsTable\RowSpanVector.cs (2)
43
_entries
= new Entry[c_defaultCapacity];
252
_entries
= newEntries;
34 references to _entries
PresentationFramework (34)
MS\Internal\PtsTable\RowSpanVector.cs (34)
46
_entries
[0].Cell = null;
47
_entries
[0].Start = int.MaxValue / 2;
48
_entries
[0].Range = int.MaxValue / 2;
49
_entries
[0].Ttl = int.MaxValue;
85
Debug.Assert( start <
_entries
[i].Cell.ColumnIndex
86
|| start >=
_entries
[i].Cell.ColumnIndex +
_entries
[i].Cell.ColumnSpan);
92
Debug.Assert(_index == 0 ||
_entries
[_index - 1].Start < start);
93
Debug.Assert(start <
_entries
[_index].Start);
97
if (_size ==
_entries
.Length)
105
_entries
[i + 1] =
_entries
[i];
108
_entries
[_index].Cell = cell;
109
_entries
[_index].Start = start;
110
_entries
[_index].Range = cell.ColumnSpan;
111
_entries
[_index].Ttl = cell.RowSpan - 1;
125
firstOccupiedIndex =
_entries
[_index].Start;
140
firstAvailableIndex =
_entries
[_index].Start +
_entries
[_index].Range;
143
_entries
[_index].Ttl--;
148
firstOccupiedIndex =
_entries
[_index].Start;
166
_entries
[_index].Ttl--;
180
Debug.Assert(
_entries
[i].Cell != null);
183
cells[i] =
_entries
[i].Cell;
185
if (
_entries
[i].Ttl > 0)
189
_entries
[j] =
_entries
[i];
201
_entries
[j] =
_entries
[i];
247
Debug.Assert(
_entries
.Length > 0
248
&& _size <=
_entries
.Length );
250
Entry[] newEntries = new Entry[
_entries
.Length * 2];
251
Array.Copy(
_entries
, newEntries,
_entries
.Length);