3 writes to Items
PresentationFramework (3)
MS\Internal\Documents\ContentElementCollection.cs (3)
38
Items
= new TItem[DefaultCapacity];
768
Items
= newItems;
772
Items
= new TItem[DefaultCapacity];
59 references to Items
PresentationFramework (59)
MS\Internal\Documents\ContentElementCollection.cs (12)
81
Array.Copy(
Items
, 0, array, index, Size);
113
Array.Copy(
Items
, 0, array, index, Size);
171
Debug.Assert(
Items
[item.Index] == item);
699
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
709
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
711
Items
[i] =
Items
[i + 1];
712
Items
[i].Index = i;
715
Items
[Size] = null;
750
return (
Items
.Length);
754
if (value !=
Items
.Length)
766
Array.Copy(
Items
, 0, newItems, 0, Size);
MS\Internal\Documents\TableColumnCollectionInternal.cs (24)
38
if (Size ==
Items
.Length)
44
Debug.Assert(
Items
[index] == null);
63
Debug.Assert(BelongsToOwner(
Items
[i]));
65
PrivateDisconnectChild(
Items
[i]);
66
Items
[i] = null;
103
if (Size ==
Items
.Length)
110
Debug.Assert(BelongsToOwner(
Items
[i]));
112
Items
[i + 1] =
Items
[i];
113
Items
[i].Index = i + 1;
116
Items
[index] = null;
136
Debug.Assert(
Items
[index] == null);
158
Items
[index] = item;
178
Items
[item.Index] = null;
243
PrivateRemove(
Items
[index]);
287
Debug.Assert(BelongsToOwner(
Items
[i]));
289
PrivateDisconnectChild(
Items
[i]);
295
Debug.Assert(BelongsToOwner(
Items
[i + count]));
297
Items
[i] =
Items
[i + count];
298
Items
[i].Index = i;
299
Items
[i + count] = null;
321
return (
Items
[index]);
332
PrivateDisconnectChild(
Items
[index]);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (23)
68
Debug.Assert(BelongsToOwner(
Items
[i]));
70
Remove(
Items
[i]);
121
TElementType itemInsert =
Items
[index];
192
Remove(
Items
[index]);
237
Debug.Assert(BelongsToOwner(
Items
[i]));
238
Remove(
Items
[i]);
258
Debug.Assert(
Items
[index] == null);
271
Items
[index] = item;
286
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
293
Items
[item.Index] = null;
300
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
302
Items
[i] =
Items
[i + 1];
303
Items
[i].Index = i;
306
Items
[Size] = null;
353
if (Size ==
Items
.Length)
369
Debug.Assert(BelongsToOwner(
Items
[i]));
371
Items
[i + 1] =
Items
[i];
372
Items
[i].Index = i + 1;
375
Items
[index] = null;
386
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
408
return (
Items
[index]);