System\Windows\Controls\ItemContainerGenerator.cs (7)
592static (state, o, d) => ItemsControl.EqualsEx(o, state), item,
931Debug.Assert(item == null || ItemsControl.EqualsEx(item, target),
1028if (!ItemsControl.EqualsEx(genItem, actualItem))
2211Debug.Assert(ItemsControl.EqualsEx(rib.ItemAt(rib.ContainerCount - 1),
2225ItemsControl.EqualsEx(rib.ItemAt(0),
2375Debug.Assert(ItemsControl.EqualsEx(item, ItemsInternal[index]), "Event contains the wrong index");
3052if (ItemsControl.EqualsEx(_entry[k].Item, item))
System\Windows\Data\ListCollectionView.cs (17)
759if (!System.Windows.Controls.ItemsControl.EqualsEx(newItem, SourceList[index]))
769Debug.Assert(_newItemIndex != -2 && System.Windows.Controls.ItemsControl.EqualsEx(newItem, _newItem), "AddNew did not raise expected events");
1029if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
1094if (index >= InternalCount || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index)))
1166if (System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
1361if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _editItem))
1913(IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(_newItem, newItem)));
1951System.Windows.Controls.ItemsControl.EqualsEx(ItemFrom(InternalList[localOldIndex]), oldItem))
2004bool simpleMove = System.Windows.Controls.ItemsControl.EqualsEx(oldItem, newItem);
2013System.Windows.Controls.ItemsControl.EqualsEx(InternalList[localOldIndex], oldItem))
2185else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
2667System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem))
2694if (!System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))
2793if (System.Windows.Controls.ItemsControl.EqualsEx(ilFull[fullIndex], ilPartial[localIndex]))
2799else if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilPartial[localIndex]))
2986if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(_newItem, item))
3198if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))