1 write to _objectToReferenceIdMap
System.Text.Json (1)
System\Text\Json\Serialization\PreserveReferenceResolver.cs (1)
23
_objectToReferenceIdMap
= new Dictionary<object, string>(ReferenceEqualityComparer.Instance);
3 references to _objectToReferenceIdMap
System.Text.Json (3)
System\Text\Json\Serialization\PreserveReferenceResolver.cs (3)
43
Debug.Assert(
_objectToReferenceIdMap
!= null);
45
if (
_objectToReferenceIdMap
.TryGetValue(value, out string? referenceId))
53
_objectToReferenceIdMap
.Add(value, referenceId);