1 write to _intervals
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.NumericValueSet.cs (1)
50_intervals = intervals;
37 references to _intervals
Microsoft.CodeAnalysis.CSharp (37)
Utilities\ValueSetFactory.NumericValueSet.cs (37)
54public bool IsEmpty => _intervals.Length == 0; 67return _tc.ToConstantValue(t._intervals[0].first); 68return _tc.ToConstantValue(this._intervals[this._intervals.Length - 1].last); 78return _intervals.Length > 0 && _tc.Related(relation, _intervals[0].first, value); 81return _intervals.Length > 0 && _tc.Related(relation, _intervals[_intervals.Length - 1].last, value); 83return anyIntervalContains(0, _intervals.Length - 1, value); 96return _tc.Related(GreaterThanOrEqual, value, _intervals[lastIntervalIndex].first) && _tc.Related(LessThanOrEqual, value, _intervals[lastIntervalIndex].last); 99if (_tc.Related(LessThanOrEqual, value, _intervals[midIndex].last)) 111if (_intervals.Length == 0) 118return _tc.Related(relation, _intervals[_intervals.Length - 1].last, value); 121return _tc.Related(relation, _intervals[0].first, value); 123return _intervals.Length == 1 && _tc.Related(Equal, _intervals[0].first, value) && _tc.Related(Equal, _intervals[0].last, value); 133if (_intervals.Length == 0) 139if (_tc.Related(LessThan, _tc.MinValue, _intervals[0].first)) 141builder.Add((_tc.MinValue, _tc.Prev(_intervals[0].first))); 145int lastIndex = _intervals.Length - 1; 148builder.Add((_tc.Next(_intervals[i].last), _tc.Prev(_intervals[i + 1].first))); 152if (_tc.Related(LessThan, _intervals[lastIndex].last, _tc.MaxValue)) 154builder.Add((_tc.Next(_intervals[lastIndex].last), _tc.MaxValue)); 168var left = this._intervals; 169var right = other._intervals; 245var left = this._intervals; 246var right = other._intervals; 317return string.Join(",", this._intervals.Select(p => $"[{_tc.ToString(p.first)}..{_tc.ToString(p.last)}]")); 322this._intervals.SequenceEqual(other._intervals); 326return Hash.Combine(Hash.CombineValues(_intervals), _intervals.Length);