8 references to FormatEnumLiteral
System.Text.Json.SourceGeneration (8)
JsonSourceGenerator.Emitter.cs (8)
2169
? SourceGeneratorHelpers.
FormatEnumLiteral
(JsonNumberHandlingTypeRef, numberHandling.Value)
2173
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonObjectCreationHandlingTypeRef, creationHandling);
2176
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnmappedMemberHandlingTypeRef, unmappedMemberHandling);
2197
source.AppendLine($" UnknownDerivedTypeHandling = {SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownDerivedTypeHandlingTypeRef, options.UnknownDerivedTypeHandling)},");
2232
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonCommentHandlingTypeRef, commentHandling);
2235
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonUnknownTypeHandlingTypeRef, commentHandling);
2238
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonIgnoreConditionTypeRef, ignoreCondition);
2241
=> SourceGeneratorHelpers.
FormatEnumLiteral
(JsonSerializerDefaultsTypeRef, defaults);