2 references to GetUnionTypeHasValueProperty
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
439
return Symbol.Equals(Binder.
GetUnionTypeHasValueProperty
(unionType), property, TypeCompareKind.AllIgnoreOptions);
Binder\DecisionDagBuilder.cs (1)
744
if (inputInfo.UnionValue is { } unionValue && Binder.
GetUnionTypeHasValueProperty
((NamedTypeSymbol)inputInfo.DagTemp.Type) is PropertySymbol hasValue)