1 write to _underlying
System.Collections (1)
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
41_underlying = Underlying;
21 references to _underlying
System.Collections (21)
System\Collections\Generic\SortedSet.TreeSubSet.cs (21)
34return (version == _underlying.version); 46root = _underlying.FindRange(_min, _max, _lBoundActive, _uBoundActive); // root is first element within range 59bool ret = _underlying.AddIfNotPresent(item); 62Debug.Assert(this.versionUpToDate() && root == _underlying.FindRange(_min, _max)); 72Debug.Assert(versionUpToDate() && root == _underlying.FindRange(_min, _max)); 84bool ret = _underlying.Remove(item); 87Debug.Assert(versionUpToDate() && root == _underlying.FindRange(_min, _max)); 103_underlying.Remove(toRemove[^1]); 109version = _underlying.version; 285Debug.Assert(this.versionUpToDate() && root == _underlying.FindRange(_min, _max)); 302Debug.Assert(this.versionUpToDate() && root == _underlying.FindRange(_min, _max)); 315Debug.Assert(_underlying != null); 316if (version != _underlying.version) 318root = _underlying.FindRange(_min, _max, _lBoundActive, _uBoundActive); 319version = _underlying.version; 322if (updateCount && _countVersion != _underlying.version) 326_countVersion = _underlying.version; 335Debug.Assert(_underlying != null); 336return _underlying.Count; 352return (TreeSubSet)_underlying.GetViewBetween(lowerValue, upperValue); 359Debug.Assert(versionUpToDate() && root == _underlying.FindRange(_min, _max));