8 references to FormatEnumLiteral
System.Text.Json.SourceGeneration (8)
JsonSourceGenerator.Emitter.cs (8)
2404
? SourceGeneratorHelpers.
FormatEnumLiteral
(JsonNumberHandlingTypeRef, numberHandling.Value)
2408
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonObjectCreationHandlingTypeRef, creationHandling);
2411
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnmappedMemberHandlingTypeRef, unmappedMemberHandling);
2432
source.AppendLine($" UnknownDerivedTypeHandling = {SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownDerivedTypeHandlingTypeRef, options.UnknownDerivedTypeHandling)},");
2467
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonCommentHandlingTypeRef, commentHandling);
2470
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownTypeHandlingTypeRef, commentHandling);
2473
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonIgnoreConditionTypeRef, ignoreCondition);
2476
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonSerializerDefaultsTypeRef, defaults);