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