4 references to Preserve
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
28jsonOptions.JsonSerializerOptions.ReferenceHandler = ReferenceHandler.Preserve;
System.Text.Json (3)
src\libraries\System.Text.Json\Common\JsonKnownReferenceHandler.cs (1)
17/// Specifies that the built-in <see cref="ReferenceHandler.Preserve"/> be used to handle references.
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
385if (options.ReferenceHandler == ReferenceHandler.Preserve)
System\Text\Json\Serialization\ReferenceHandler.cs (1)
60/// Optimization for the resolver used when <see cref="Preserve"/> is set in <see cref="JsonSerializerOptions.ReferenceHandler"/>;