7 implementations of Intersect
Microsoft.CodeAnalysis.CSharp (7)
Utilities\TypeUnionValueSet.cs (1)
280
IValueSet IValueSet.
Intersect
(IValueSet other)
Utilities\ValueSetFactory.BoolValueSet.cs (1)
85
public IValueSet
Intersect
(IValueSet other) => this.Intersect((IConstantValueSet<bool>)other);
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
138
IValueSet IValueSet.
Intersect
(IValueSet other) => Intersect((IConstantValueSet<T>)other);
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
111
IValueSet IValueSet.
Intersect
(IValueSet other) => this.Intersect((IConstantValueSet<TFloating>)other);
Utilities\ValueSetFactory.NintValueSet.cs (1)
108
IValueSet IValueSet.
Intersect
(IValueSet other) => this.Intersect((NintValueSet)other);
Utilities\ValueSetFactory.NuintValueSet.cs (1)
93
IValueSet IValueSet.
Intersect
(IValueSet other) => this.Intersect((NuintValueSet)other);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
237
IValueSet IValueSet.
Intersect
(IValueSet other) => this.Intersect((IConstantValueSet<T>)other);
5 references to Intersect
Microsoft.CodeAnalysis.CSharp (5)
Binder\DecisionDagBuilder.cs (4)
1783
fromTestPassing = (TValueSet)fromTestPassing.
Intersect
(tempValuesBeforeTest);
1784
fromTestFailing = (TValueSet)fromTestFailing.
Intersect
(tempValuesBeforeTest);
3523
if (((IConstantValueSet)lengthValues.
Intersect
(possibleValues)).IsEmpty)
3525
if (((IConstantValueSet)lengthValues.Complement().
Intersect
(possibleValues)).IsEmpty)
Binder\PatternExplainer.cs (1)
756
remainingValues = (IConstantValueSet)remainingValues.
Intersect
(filtered);