8 references to FormatEnumLiteral
System.Text.Json.SourceGeneration (8)
JsonSourceGenerator.Emitter.cs (8)
2319
? SourceGeneratorHelpers.
FormatEnumLiteral
(JsonNumberHandlingTypeRef, numberHandling.Value)
2323
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonObjectCreationHandlingTypeRef, creationHandling);
2326
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnmappedMemberHandlingTypeRef, unmappedMemberHandling);
2347
source.AppendLine($" UnknownDerivedTypeHandling = {SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownDerivedTypeHandlingTypeRef, options.UnknownDerivedTypeHandling)},");
2382
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonCommentHandlingTypeRef, commentHandling);
2385
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownTypeHandlingTypeRef, commentHandling);
2388
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonIgnoreConditionTypeRef, ignoreCondition);
2391
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonSerializerDefaultsTypeRef, defaults);