4 writes to _comparer
System.Collections (4)
System\Collections\Generic\OrderedDictionary.cs (4)
117_comparer = comparer ?? EqualityComparer<TKey>.Default; 123_comparer = (IEqualityComparer<TKey>)stringComparer; 130_comparer = comparer; 1108IEqualityComparer<TKey> comparer = _comparer = (IEqualityComparer<TKey>)((NonRandomizedStringEqualityComparer)_comparer).GetUnderlyingEqualityComparer();
11 references to _comparer
System.Collections (11)
System\Collections\Generic\OrderedDictionary.cs (11)
121NonRandomizedStringEqualityComparer.GetStringComparer(_comparer) is IEqualityComparer<string> stringComparer) 219IEqualityComparer<TKey>? comparer = _comparer; 620IEqualityComparer<TKey>? comparer = _comparer; 825if (typeof(TKey).IsValueType && _comparer is null) 835Debug.Assert(_comparer is not null); 836if (_comparer.Equals(key, e.Key)) 1068_comparer is NonRandomizedStringEqualityComparer) 1107Debug.Assert(_comparer is NonRandomizedStringEqualityComparer); 1108IEqualityComparer<TKey> comparer = _comparer = (IEqualityComparer<TKey>)((NonRandomizedStringEqualityComparer)_comparer).GetUnderlyingEqualityComparer(); 1109Debug.Assert(_comparer is not null); 1110Debug.Assert(_comparer is not NonRandomizedStringEqualityComparer);