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