8 references to FormatEnumLiteral
System.Text.Json.SourceGeneration (8)
JsonSourceGenerator.Emitter.cs (8)
2331
? SourceGeneratorHelpers.
FormatEnumLiteral
(JsonNumberHandlingTypeRef, numberHandling.Value)
2335
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonObjectCreationHandlingTypeRef, creationHandling);
2338
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnmappedMemberHandlingTypeRef, unmappedMemberHandling);
2359
source.AppendLine($" UnknownDerivedTypeHandling = {SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownDerivedTypeHandlingTypeRef, options.UnknownDerivedTypeHandling)},");
2394
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonCommentHandlingTypeRef, commentHandling);
2397
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownTypeHandlingTypeRef, commentHandling);
2400
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonIgnoreConditionTypeRef, ignoreCondition);
2403
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonSerializerDefaultsTypeRef, defaults);