3 writes to Items
PresentationFramework (3)
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (3)
46
Items
= new TItem[DefaultCapacity];
791
Items
= newItems;
795
Items
= new TItem[DefaultCapacity];
59 references to Items
PresentationFramework (59)
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (12)
92
Array.Copy(
Items
, 0, array, index, Size);
127
Array.Copy(
Items
, 0, array, index, Size);
185
Debug.Assert(
Items
[item.Index] == item);
722
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
732
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
734
Items
[i] =
Items
[i + 1];
735
Items
[i].Index = i;
738
Items
[Size] = null;
773
return (
Items
.Length);
777
if (value !=
Items
.Length)
789
Array.Copy(
Items
, 0, newItems, 0, Size);
src\Framework\MS\Internal\Documents\TableColumnCollectionInternal.cs (24)
43
if (Size ==
Items
.Length)
49
Debug.Assert(
Items
[index] == null);
68
Debug.Assert(BelongsToOwner(
Items
[i]));
70
PrivateDisconnectChild(
Items
[i]);
71
Items
[i] = null;
111
if (Size ==
Items
.Length)
118
Debug.Assert(BelongsToOwner(
Items
[i]));
120
Items
[i + 1] =
Items
[i];
121
Items
[i].Index = i + 1;
124
Items
[index] = null;
144
Debug.Assert(
Items
[index] == null);
166
Items
[index] = item;
186
Items
[item.Index] = null;
254
PrivateRemove(
Items
[index]);
298
Debug.Assert(BelongsToOwner(
Items
[i]));
300
PrivateDisconnectChild(
Items
[i]);
306
Debug.Assert(BelongsToOwner(
Items
[i + count]));
308
Items
[i] =
Items
[i + count];
309
Items
[i].Index = i;
310
Items
[i + count] = null;
333
return (
Items
[index]);
347
PrivateDisconnectChild(
Items
[index]);
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (23)
71
Debug.Assert(BelongsToOwner(
Items
[i]));
73
Remove(
Items
[i]);
127
TElementType itemInsert =
Items
[index];
201
Remove(
Items
[index]);
246
Debug.Assert(BelongsToOwner(
Items
[i]));
247
Remove(
Items
[i]);
268
Debug.Assert(
Items
[index] == null);
281
Items
[index] = item;
296
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
303
Items
[item.Index] = null;
310
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
312
Items
[i] =
Items
[i + 1];
313
Items
[i].Index = i;
316
Items
[Size] = null;
363
if (Size ==
Items
.Length)
379
Debug.Assert(BelongsToOwner(
Items
[i]));
381
Items
[i + 1] =
Items
[i];
382
Items
[i].Index = i + 1;
385
Items
[index] = null;
396
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
419
return (
Items
[index]);