3 references to IsUnionType
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Parser.cs (3)
805if (IsUnionType(type) && type is INamedTypeSymbol namedUnionType) 976bool isUnionType = IsUnionType(typeToGenerate.Type); 1838if (type is INamedTypeSymbol unionType && IsUnionType(unionType))