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