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
);
130
if (ReferenceEquals(item.Value, existing.Value) &&
_stringComparer
.Equals(item.Key, existing.Key))
178
if (
_stringComparer
.Equals(propertyName, item.Key))
320
_propertyDictionary = JsonHelpers.CreateDictionaryFromCollection(_propertyList,
_stringComparer
);
359
if (
_stringComparer
.Equals(propertyName, item.Key))
373
if (
_stringComparer
.Equals(propertyName, current.Key))
406
if (
_stringComparer
.Equals(current.Key, propertyName))