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