3 writes to Item
System (3)
compmod\system\collections\generic\sorteddictionary.cs (1)
106node.Item = new KeyValuePair<TKey, TValue>( node.Item.Key, value);
compmod\system\collections\generic\sortedset.cs (2)
2138this.Item = item; 2144this.Item = item;
45 references to Item
System (45)
compmod\system\collections\generic\sorteddictionary.cs (12)
58return node.Item.Value == null; 61return EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value); 71if( EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value)) { 95return node.Item.Value; 106node.Item = new KeyValuePair<TKey, TValue>( node.Item.Key, value); 185if(node.Item.Value == null) { 196if(valueComparer.Equals(node.Item.Value, value)) { 236value = node.Item.Value; 483dictionary._set.InOrderTreeWalk( delegate(TreeSet<KeyValuePair<TKey, TValue>>.Node node){ array[index++] = node.Item.Key; return true;}); 518dictionary._set.InOrderTreeWalk( delegate(TreeSet<KeyValuePair<TKey, TValue>>.Node node){ objects[index++] = node.Item.Key; return true;}); 638dictionary._set.InOrderTreeWalk( delegate(TreeSet<KeyValuePair<TKey, TValue>>.Node node){ array[index++] = node.Item.Value; return true;}); 673dictionary._set.InOrderTreeWalk( delegate(TreeSet<KeyValuePair<TKey, TValue>>.Node node){ objects[index++] = node.Item.Value; return true;});
compmod\system\collections\generic\sortedset.cs (33)
134Node myCurrent = (theirCurrent != null ? new SortedSet<T>.Node(theirCurrent.Item, theirCurrent.IsRed) : null); 139myCurrent.Left = (theirCurrent.Left != null ? new SortedSet<T>.Node(theirCurrent.Left.Item, theirCurrent.Left.IsRed) : null); 149myRight = new SortedSet<T>.Node(theirRight.Item, theirRight.IsRed); 156myRight.Left = (theirRight.Left != null ? new SortedSet<T>.Node(theirRight.Left.Item, theirRight.Left.IsRed) : null); 382order = comparer.Compare(item, current.Item); 537int order = foundMatch ? -1 : comparer.Compare(item, current.Item); 612array[index++] = node.Item; 649InOrderTreeWalk(delegate(Node node) { objects[index++] = node.Item; return true; }); 784int order = comparer.Compare(item, current.Item); 802int order = comparer.Compare(item, current.Item); 821if (lowerBoundActive && comparer.Compare(from, current.Item) > 0) { 824if (upperBoundActive && comparer.Compare(to, current.Item) < 0) { 1646if (match(n.Item)) { 1647matches.Add(n.Item); 1672InOrderTreeWalk(delegate(SortedSet<T>.Node n) { ret = n.Item; return false; }); 1680InOrderTreeWalk(delegate(SortedSet<T>.Node n) { ret = n.Item; return false; }, true); 1824BreadthFirstTreeWalk(delegate(Node n) { toRemove.Add(n.Item); return true; }); 1860if (IsWithinRange(current.Item)) { 1863} else if (lBoundActive && Comparer.Compare(min, current.Item) > 0) { 1878if (IsWithinRange(node.Item)) { 1881} else if (lBoundActive && Comparer.Compare(min, node.Item) > 0) { 1905if (IsWithinRange(current.Item) && !action(current)) { 1908if (current.Left != null && (!lBoundActive || Comparer.Compare(min, current.Item) < 0)) { 1911if (current.Right != null && (!uBoundActive || Comparer.Compare(max, current.Item) > 0)) { 2228info.AddValue(NodeValueName, (current == null ? dummyNode.Item : current.Item), typeof(T)); 2269if (tree.IsWithinRange(node.Item)) { 2272} else if (next == null || !tree.IsWithinRange(next.Item)) { 2301if (tree.IsWithinRange(node.Item)) { 2304} else if (other == null || !tree.IsWithinRange(other.Item)) { 2319return current.Item; 2331return current.Item; 2384actualValue = node.Item;