1 write to Comparison
PresentationFramework (1)
MS\Internal\Data\LiveShapingList.cs (1)
86_root.Comparison = CompareLiveShapingItems;
22 references to Comparison
PresentationFramework (22)
MS\Internal\Data\LiveShapingTree.cs (4)
61RBFinger<LiveShapingItem> fingerL = LocateItem(finger, Comparison); 82lsi.FindPosition(out oldFinger, out newFinger, Comparison); 133!( Comparison(finger.Item, lsi) > 0 && 142!( Comparison(lsi, finger.Item) > 0 &&
MS\Internal\Data\RBTree.cs (18)
71return BoundedSearch(x, low, high, Comparison); 76RBFinger<T> finger = Find(x, Comparison); 218int c = Comparison(low.Item, mid.Item); 221c = Comparison(mid.Item, blue.Item); 231c = Comparison(low.Item, blue.Item); 250c = Comparison(low.Item, blue.Item); 268c = Comparison(low.Item, blue.Item); 280c = Comparison(mid.Item, blue.Item); 306c = Comparison(left.Item, x); 327c = Comparison(f.Item, x); 412RBFinger<T> fingerL = LocateItem(finger, Comparison); 456if (Comparison != null) 458RBFinger<T> finger = Find(item, Comparison); 462finger.Found = (finger.IsValid && Comparison(finger.Item, item) == 0); 564RBFinger<T> finger = Find(item, Comparison); 594RBFinger<T> finger = Find(item, Comparison); 637if (!CheckSort || Comparison == null) 642bool b = Verify(LeftChild, checkSort ? Comparison : null, 0, ref index, ref maxItem, out size) && size == LeftSize && size == expectedSize;