3 references to JsonUnionCaseInfoTypeRef
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (3)
624
? $"global::System.Array.Empty<{
JsonUnionCaseInfoTypeRef
}>()"
625
: $$"""new {{
JsonUnionCaseInfoTypeRef
}}[] { {{string.Join(", ", unionCases.Select(c => $"new {
JsonUnionCaseInfoTypeRef
}(typeof({c.CaseType.FullyQualifiedName})) {{ IsNullable = {(c.IsNullable ? "true" : "false")} }}"))}} }""";