2 writes to ReferenceHandlingStrategy
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
157
ReferenceHandlingStrategy
= options.ReferenceHandlingStrategy;
756
ReferenceHandlingStrategy
= value?.HandlingStrategy ?? JsonKnownReferenceHandler.Unspecified;
16 references to ReferenceHandlingStrategy
System.Text.Json (16)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
185
Debug.Assert(options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
208
Debug.Assert(options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve);
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (2)
120
if (options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve &&
137
if (options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve &&
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
128
Debug.Assert(options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
210
Debug.Assert(options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve);
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
144
switch (options.
ReferenceHandlingStrategy
)
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
385
if (!isContinuation && options.
ReferenceHandlingStrategy
!= JsonKnownReferenceHandler.Unspecified &&
System\Text\Json\Serialization\JsonSerializerContext.cs (1)
66
options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Unspecified &&
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
157
ReferenceHandlingStrategy = options.
ReferenceHandlingStrategy
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
479
if (Options.
ReferenceHandlingStrategy
is JsonKnownReferenceHandler.Preserve &&
684
if (Options.
ReferenceHandlingStrategy
!= JsonKnownReferenceHandler.Unspecified)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
181
Options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.IgnoreCycles &&
System\Text\Json\Serialization\ReadStack.cs (1)
99
if (options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.Preserve)
System\Text\Json\Serialization\WriteStack.cs (2)
161
if (options.
ReferenceHandlingStrategy
!= JsonKnownReferenceHandler.Unspecified)
166
if (options.
ReferenceHandlingStrategy
== JsonKnownReferenceHandler.IgnoreCycles &&