1 write to _enumFieldInfoIndex
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
63_enumFieldInfoIndex = new(StringComparer.OrdinalIgnoreCase);
3 references to _enumFieldInfoIndex
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (3)
93if (!_enumFieldInfoIndex.TryAdd(fieldInfo.JsonName, fieldInfo)) 96EnumFieldInfo existingFieldInfo = _enumFieldInfoIndex[fieldInfo.JsonName]; 306Dictionary<string, EnumFieldInfo>.AlternateLookup<ReadOnlySpan<char>> lookup = _enumFieldInfoIndex.GetAlternateLookup<ReadOnlySpan<char>>();