9 references to UnionValue
Microsoft.CodeAnalysis.CSharp (9)
Binder\DecisionDagBuilder.cs (9)
342if (info.UnionValue is not null) 350public TypeSymbol GetInputType() => UnionValue?.Type ?? DagTemp.Type; 365Debug.Assert(input.UnionValue is null ? 379Debug.Assert(input.UnionValue is null); 415if (input.UnionValue is { } unionValue) 750if (inputInfo.UnionValue is { } unionValue && Binder.GetUnionTypeHasValueProperty((NamedTypeSymbol)inputInfo.DagTemp.Type) is PropertySymbol hasValue) 784if (inputInfo.UnionValue is { } unionValue) 882if (constantValue.IsString && (inputInfo.UnionValue?.Type ?? inputInfo.DagTemp.Type).IsSpanOrReadOnlySpanChar()) 1138(outputInfo.UnionValue is null ?