2 writes to _stringComparer
System.Text.Json (2)
System\Text\Json\JsonPropertyDictionary.cs (2)
25_stringComparer = caseInsensitive ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal; 31_stringComparer = caseInsensitive ? StringComparer.OrdinalIgnoreCase : StringComparer.Ordinal;
7 references to _stringComparer
System.Text.Json (7)
System\Text\Json\JsonPropertyDictionary.cs (7)
35_propertyDictionary = new(capacity, _stringComparer); 130if (ReferenceEquals(item.Value, existing.Value) && _stringComparer.Equals(item.Key, existing.Key)) 178if (_stringComparer.Equals(propertyName, item.Key)) 320_propertyDictionary = JsonHelpers.CreateDictionaryFromCollection(_propertyList, _stringComparer); 359if (_stringComparer.Equals(propertyName, item.Key)) 373if (_stringComparer.Equals(propertyName, current.Key)) 406if (_stringComparer.Equals(current.Key, propertyName))