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)
93
if (!
_enumFieldInfoIndex
.TryAdd(fieldInfo.JsonName, fieldInfo))
96
EnumFieldInfo existingFieldInfo =
_enumFieldInfoIndex
[fieldInfo.JsonName];
306
Dictionary<string, EnumFieldInfo>.AlternateLookup<ReadOnlySpan<char>> lookup =
_enumFieldInfoIndex
.GetAlternateLookup<ReadOnlySpan<char>>();