1 write to ReferenceResolver
System.Text.Json (1)
System\Text\Json\Serialization\ReadStack.cs (1)
101
ReferenceResolver
= options.ReferenceHandler!.CreateResolver(writing: false);
11 references to ReferenceResolver
System.Text.Json (11)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
187
state.
ReferenceResolver
.AddReference(state.ReferenceId, state.Current.ReturnValue);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
210
state.
ReferenceResolver
.AddReference(state.ReferenceId, state.Current.ReturnValue);
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
129
state.
ReferenceResolver
.AddReference(state.ReferenceId, obj);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
211
state.
ReferenceResolver
.AddReference(state.ReferenceId, obj);
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (7)
88
if (state.
ReferenceResolver
is null)
109
if (state.
ReferenceResolver
is null)
382
state.
ReferenceResolver
.AddReference(property.Value.GetString()!, boxedElement);
404
referenceValue = state.
ReferenceResolver
.ResolveReference(property.Value.GetString()!);
441
state.
ReferenceResolver
.AddReference(referenceId, jsonNode);
459
referenceValue = state.
ReferenceResolver
.ResolveReference(referenceId);
522
object value = state.
ReferenceResolver
.ResolveReference(referenceId);