3 writes to Items
PresentationFramework (3)
MS\Internal\Documents\ContentElementCollection.cs (3)
43
Items
= new TItem[DefaultCapacity];
773
Items
= newItems;
777
Items
= new TItem[DefaultCapacity];
59 references to Items
PresentationFramework (59)
MS\Internal\Documents\ContentElementCollection.cs (12)
86
Array.Copy(
Items
, 0, array, index, Size);
118
Array.Copy(
Items
, 0, array, index, Size);
176
Debug.Assert(
Items
[item.Index] == item);
704
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
714
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
716
Items
[i] =
Items
[i + 1];
717
Items
[i].Index = i;
720
Items
[Size] = null;
755
return (
Items
.Length);
759
if (value !=
Items
.Length)
771
Array.Copy(
Items
, 0, newItems, 0, Size);
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;
108
if (Size ==
Items
.Length)
115
Debug.Assert(BelongsToOwner(
Items
[i]));
117
Items
[i + 1] =
Items
[i];
118
Items
[i].Index = i + 1;
121
Items
[index] = null;
141
Debug.Assert(
Items
[index] == null);
163
Items
[index] = item;
183
Items
[item.Index] = null;
248
PrivateRemove(
Items
[index]);
292
Debug.Assert(BelongsToOwner(
Items
[i]));
294
PrivateDisconnectChild(
Items
[i]);
300
Debug.Assert(BelongsToOwner(
Items
[i + count]));
302
Items
[i] =
Items
[i + count];
303
Items
[i].Index = i;
304
Items
[i + count] = null;
326
return (
Items
[index]);
337
PrivateDisconnectChild(
Items
[index]);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (23)
72
Debug.Assert(BelongsToOwner(
Items
[i]));
74
Remove(
Items
[i]);
125
TElementType itemInsert =
Items
[index];
196
Remove(
Items
[index]);
241
Debug.Assert(BelongsToOwner(
Items
[i]));
242
Remove(
Items
[i]);
262
Debug.Assert(
Items
[index] == null);
275
Items
[index] = item;
290
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
297
Items
[item.Index] = null;
304
Debug.Assert(BelongsToOwner(
Items
[i + 1]));
306
Items
[i] =
Items
[i + 1];
307
Items
[i].Index = i;
310
Items
[Size] = null;
357
if (Size ==
Items
.Length)
373
Debug.Assert(BelongsToOwner(
Items
[i]));
375
Items
[i + 1] =
Items
[i];
376
Items
[i].Index = i + 1;
379
Items
[index] = null;
390
Debug.Assert(BelongsToOwner(item) &&
Items
[item.Index] == item);
412
return (
Items
[index]);