3 writes to _key
System.Collections.Immutable (3)
System\Collections\Immutable\ImmutableList_1.Node.cs (3)
88
_key
= key;
194
return ref
_key
;
1543
_key
= key;
8 references to _key
System.Collections.Immutable (8)
System\Collections\Immutable\ImmutableList_1.Node.cs (8)
131
public T Value =>
_key
;
141
internal T Key =>
_key
;
165
return
_key
;
679
int compare = comparer.Compare(item,
_key
);
1450
return new Node(
_key
, left, right);
1475
return new Node(
_key
, left, _right!);
1499
return new Node(
_key
, _left!, right);
1586
private static bool Contains(Node node, T value, IEqualityComparer<T> equalityComparer) => !node.IsEmpty && (equalityComparer.Equals(value, node.
_key
) || Contains(node._left!, value, equalityComparer) || Contains(node._right!, value, equalityComparer));