1 write to _nameCacheForReading
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
66_nameCacheForReading = new(StringComparer.Ordinal);
3 references to _nameCacheForReading
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (3)
75_nameCacheForReading.TryAdd(fieldInfo.JsonName, fieldInfo.Key); 252ConcurrentDictionary<string, ulong>.AlternateLookup<ReadOnlySpan<char>> lookup = _nameCacheForReading.GetAlternateLookup<ReadOnlySpan<char>>(); 282if (success && _nameCacheForReading.Count < NameCacheSizeSoftLimit)