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)
33
Debug.Assert(
_referenceIdToObjectMap
!= null);
35
if (!
_referenceIdToObjectMap
.TryAdd(referenceId, value))
62
Debug.Assert(
_referenceIdToObjectMap
!= null);
64
if (!
_referenceIdToObjectMap
.TryGetValue(referenceId, out object? value))