6 implementations of Union
Microsoft.CodeAnalysis.CSharp (6)
Utilities\ValueSetFactory.BoolValueSet.cs (1)
95
IValueSet IValueSet.
Union
(IValueSet other) => this.Union((IValueSet<bool>)other);
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
161
IValueSet IValueSet.
Union
(IValueSet other) => Union((IValueSet<T>)other);
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
126
IValueSet IValueSet.
Union
(IValueSet other) => this.Union((IValueSet<TFloating>)other);
Utilities\ValueSetFactory.NintValueSet.cs (1)
120
IValueSet IValueSet.
Union
(IValueSet other) => this.Union((NintValueSet)other);
Utilities\ValueSetFactory.NuintValueSet.cs (1)
104
IValueSet IValueSet.
Union
(IValueSet other) => this.Union((NuintValueSet)other);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
288
IValueSet IValueSet.
Union
(IValueSet other) => this.Union((IValueSet<T>)other);
18 references to Union
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
848
var newExistingValuesForTemp = existingValuesForTemp.
Union
(valuesForTemp);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Utilities\ValueSetTests.cs (17)
402
Assert.Same(b.
Union
(b), b);
422
Assert.Same(b.
Union
(b), b);
436
var s4 = b.
Union
(s2).Complement();
605
var u1 = s1.
Union
(s2);
609
var i2 = s1.Complement().
Union
(s2.Complement()).Complement();
662
var u1 = s1.
Union
(s2);
664
var u3 = s2.
Union
(s1);
671
var i2 = s1.Complement().
Union
(s2.Complement()).Complement();
673
var i4 = s2.Complement().
Union
(s1.Complement()).Complement();
680
u1 = s1.
Union
(s2);
682
u3 = s2.
Union
(s1);
689
i2 = s1.Complement().
Union
(s2.Complement()).Complement();
691
i4 = s2.Complement().
Union
(s1.Complement()).Complement();
698
u1 = s1.
Union
(s2);
700
u3 = s2.
Union
(s1);
707
i2 = s1.Complement().
Union
(s2.Complement()).Complement();
709
i4 = s2.Complement().
Union
(s1.Complement()).Complement();