7 references to JsonKnownReferenceHandler
System.Text.Json.SourceGeneration (7)
JsonSourceGenerator.Emitter.cs (4)
1252if (optionsSpec.ReferenceHandler is JsonKnownReferenceHandler referenceHandler) 1290static string FormatReferenceHandler(JsonKnownReferenceHandler referenceHandler) 1294JsonKnownReferenceHandler.Preserve => PreserveReferenceHandlerPropertyName, 1295JsonKnownReferenceHandler.IgnoreCycles => IgnoreCyclesReferenceHandlerPropertyName,
JsonSourceGenerator.Parser.cs (2)
283JsonKnownReferenceHandler? referenceHandler = null; 384referenceHandler = (JsonKnownReferenceHandler)namedArg.Value.Value!;
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
121public JsonKnownReferenceHandler ReferenceHandler { get; set; }