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)
34
return (version ==
_underlying
.version);
46
root =
_underlying
.FindRange(_min, _max, _lBoundActive, _uBoundActive); // root is first element within range
59
bool ret =
_underlying
.AddIfNotPresent(item);
62
Debug.Assert(this.versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));
72
Debug.Assert(versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));
84
bool ret =
_underlying
.Remove(item);
87
Debug.Assert(versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));
103
_underlying
.Remove(toRemove[^1]);
109
version =
_underlying
.version;
285
Debug.Assert(this.versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));
302
Debug.Assert(this.versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));
315
Debug.Assert(
_underlying
!= null);
316
if (version !=
_underlying
.version)
318
root =
_underlying
.FindRange(_min, _max, _lBoundActive, _uBoundActive);
319
version =
_underlying
.version;
322
if (updateCount && _countVersion !=
_underlying
.version)
326
_countVersion =
_underlying
.version;
335
Debug.Assert(
_underlying
!= null);
336
return
_underlying
.Count;
352
return (TreeSubSet)
_underlying
.GetViewBetween(lowerValue, upperValue);
359
Debug.Assert(versionUpToDate() && root ==
_underlying
.FindRange(_min, _max));