2 writes to _keyComparer
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (2)
75
_keyComparer
= map.KeyComparer;
318
_keyComparer
= value;
11 references to _keyComparer
System.Collections.Immutable (11)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (11)
192
this.Root = _root.SetItem(key, value,
_keyComparer
, _valueComparer, out replacedExistingValue, out mutated);
208
return ref _root.ValueRef(key,
_keyComparer
);
298
return
_keyComparer
;
304
if (value !=
_keyComparer
)
433
this.Root = this.Root.Add(key, value,
_keyComparer
, _valueComparer, out mutated);
445
return this.Root.ContainsKey(key,
_keyComparer
);
454
this.Root = this.Root.Remove(key,
_keyComparer
, out mutated);
468
return this.Root.TryGetValue(key,
_keyComparer
, out value!);
477
return this.Root.TryGetKey(equalKey,
_keyComparer
, out actualKey);
502
return this.Root.Contains(item,
_keyComparer
, _valueComparer);
643
return _immutable ??= Wrap(this.Root, _count,
_keyComparer
, _valueComparer);