System\Windows\Controls\ItemContainerGenerator.cs (7)
598static (state, o, d) => ItemsControl.EqualsEx(o, state), item,
937Debug.Assert(item == null || ItemsControl.EqualsEx(item, target),
1034if (!ItemsControl.EqualsEx(genItem, actualItem))
2217Debug.Assert(ItemsControl.EqualsEx(rib.ItemAt(rib.ContainerCount - 1),
2231ItemsControl.EqualsEx(rib.ItemAt(0),
2381Debug.Assert(ItemsControl.EqualsEx(item, ItemsInternal[index]), "Event contains the wrong index");
3058if (ItemsControl.EqualsEx(_entry[k].Item, item))
System\Windows\Data\ListCollectionView.cs (17)
765if (!System.Windows.Controls.ItemsControl.EqualsEx(newItem, SourceList[index]))
775Debug.Assert(_newItemIndex != -2 && System.Windows.Controls.ItemsControl.EqualsEx(newItem, _newItem), "AddNew did not raise expected events");
1035if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
1100if (index >= InternalCount || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index)))
1172if (System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
1367if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _editItem))
1919(IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(_newItem, newItem)));
1957System.Windows.Controls.ItemsControl.EqualsEx(ItemFrom(InternalList[localOldIndex]), oldItem))
2010bool simpleMove = System.Windows.Controls.ItemsControl.EqualsEx(oldItem, newItem);
2019System.Windows.Controls.ItemsControl.EqualsEx(InternalList[localOldIndex], oldItem))
2191else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
2673System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
2700if (!System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))
2799if (System.Windows.Controls.ItemsControl.EqualsEx(ilFull[fullIndex], ilPartial[localIndex]))
2805else if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilPartial[localIndex]))
2992if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(_newItem, item))
3204if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))