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