92 references to EqualsEx
PresentationFramework (92)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
447if (ItemsControl.EqualsEx(CurrentItem, item))
MS\Internal\Data\CollectionViewGroupInternal.cs (6)
275if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 307if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 466if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 659if (System.Windows.Controls.ItemsControl.EqualsEx(x, y)) 667if (System.Windows.Controls.ItemsControl.EqualsEx(x, z)) 671else if (System.Windows.Controls.ItemsControl.EqualsEx(y, z))
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
152Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(item, ProtectedItems[index]), "RemoveSpecialItem finds inconsistent data");
MS\Internal\Data\CompositeCollectionView.cs (6)
221if (ItemsControl.EqualsEx(CurrentItem, item)) 879if (ItemsControl.EqualsEx(_collection[positionX], item)) 1145if (ItemsControl.EqualsEx(CurrentItem, item)) 1174if (ItemsControl.EqualsEx(item, CurrentItem)) 1181if (ItemsControl.EqualsEx(item, item2)) 1665if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !_collection.HasRepeatedCollection())
MS\Internal\Data\DifferencingCollection.cs (6)
61if (index < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index])) 71if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 91if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 96if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index])) 125if (System.Windows.Controls.ItemsControl.EqualsEx(o, target)) 161if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index]))
MS\Internal\Data\EnumerableCollectionView.cs (4)
425if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 435if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 454if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex])) 468if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex]))
MS\Internal\Data\IndexedEnumerable.cs (1)
402Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(_cachedItem, current), "EnsureCacheCurrent: _cachedItem out of sync with _enumerator.Current");
MS\Internal\Data\LiveShapingList.cs (3)
248if (x == y || System.Windows.Controls.ItemsControl.EqualsEx(x.Item, y.Item)) 322if (System.Windows.Controls.ItemsControl.EqualsEx(item, lsi.Item)) 525if (System.Windows.Controls.ItemsControl.EqualsEx(value, x.Item))
MS\Internal\Data\LiveShapingTree.cs (1)
100if (System.Windows.Controls.ItemsControl.EqualsEx(finger.Item.Item, item))
MS\Internal\Data\ObjectRef.cs (1)
491ItemsControl.EqualsEx(child.DataContext, parent.DataContext))
MS\Internal\Data\PropertyPathWorker.cs (2)
412if (!ItemsControl.EqualsEx(oldValue, RawValue(k - 1))) 994if (!ItemsControl.EqualsEx(item, BindingExpression.GetReference(_arySVS[level].item))
MS\Internal\Data\RBNode.cs (1)
754if (!System.Windows.Controls.ItemsControl.EqualsEx(node.GetItemAt(j), default(T)))
MS\Internal\Data\RBTree.cs (1)
485return IndexOf(item, (x, y) => { return System.Windows.Controls.ItemsControl.EqualsEx(x, y); });
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
115!ItemsControl.EqualsEx(peer.Item, dataItemHeader))
System\Windows\Controls\DataGrid.cs (7)
2729if (index >= 0 && ItemsControl.EqualsEx(newItem, Items[index])) 2737if (index < Items.Count && ItemsControl.EqualsEx(newItem, Items[index])) 3095(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 5632if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.Item)) || 5633(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item))) 6003if (!ItemsControl.EqualsEx(CurrentCell.Item, rowInfo.Item)) 6744if (_editingRowInfo == null || !ItemsControl.EqualsEx(item, _editingRowInfo.Item) ||
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\Controls\ItemsControl.cs (3)
3639else if (info.IsRemoved || !ItemsControl.EqualsEx(info.Item, 3682static (state, o, d) => ItemsControl.EqualsEx(o, state.item) && !state.claimedContainers.Contains(d), 3886if (!ItemsControl.EqualsEx(this.Item, that.Item))
System\Windows\Controls\TabControl.cs (1)
527!ItemsControl.EqualsEx(selectedItem, ItemContainerGenerator.ItemFromContainer(tabItem)))
System\Windows\Data\BindingExpression.cs (4)
928if (StatusInternal == BindingStatusInternal.Inactive || !System.Windows.Controls.ItemsControl.EqualsEx(item, DataItem)) 1492bool realTransfer = !(IsInUpdate && System.Windows.Controls.ItemsControl.EqualsEx(value, Value)); 2304if (!System.Windows.Controls.ItemsControl.EqualsEx(DataItem, item)) 2432if (!System.Windows.Controls.ItemsControl.EqualsEx(DataItem, newItem))
System\Windows\Data\BindingExpressionBase.cs (3)
1107if (ItemsControl.EqualsEx(value, EffectiveTargetNullValue)) 1733!ItemsControl.EqualsEx( contextElement.GetValue(dataContextDP), 2363if (ItemsControl.EqualsEx(toRemove[j].ErrorContent, errorContent))
System\Windows\Data\BindingGroup.cs (4)
827!ItemsControl.EqualsEx(dataContextItem, itemReference.Target)) 1295if (ItemsControl.EqualsEx(item, list[i].Target)) 1593ItemsControl.EqualsEx(item, entry.Item)) 1930ItemsControl.EqualsEx(item, entry.Item))
System\Windows\Data\BindingListCollectionView.cs (6)
851if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 916if (index >= InternalList.Count || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index))) 969if (System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 1092if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _editItem)) 1719else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 2291if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(_newItem, item))
System\Windows\Data\CollectionView.cs (3)
515if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 524bool isNewItem = (ecv != null && ecv.IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, ecv.CurrentAddItem));
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]))
System\Windows\Data\MultiBindingExpression.cs (2)
953if (ItemsControl.EqualsEx(value, newValue)) 1336bool realTransfer = !(IsInUpdate && ItemsControl.EqualsEx(value, Value));