1 write to _referenceIdToObjectMap
System.Text.Json (1)
System\Text\Json\Serialization\PreserveReferenceResolver.cs (1)
27_referenceIdToObjectMap = new Dictionary<string, object>();
4 references to _referenceIdToObjectMap
System.Text.Json (4)
System\Text\Json\Serialization\PreserveReferenceResolver.cs (4)
33Debug.Assert(_referenceIdToObjectMap != null); 35if (!_referenceIdToObjectMap.TryAdd(referenceId, value)) 62Debug.Assert(_referenceIdToObjectMap != null); 64if (!_referenceIdToObjectMap.TryGetValue(referenceId, out object? value))