1 write to _thisSet
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSetInternalBase.cs (1)
26
_thisSet
= default;
27 references to _thisSet
System.Collections.Immutable (27)
System\Collections\Frozen\FrozenSetInternalBase.cs (27)
27
_thisSet
.Store(this);
33
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
48
return
_thisSet
.Count < otherCount && IsSubsetOfSetWithCompatibleComparer(otherAsSet);
54
return uniqueCount ==
_thisSet
.Count && unfoundCount > 0;
60
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
75
return
_thisSet
.Count > otherCount && ContainsAllElements(otherAsSet);
81
return uniqueCount <
_thisSet
.Count && unfoundCount == 0;
87
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
92
return
_thisSet
.Count <= otherAsSet.Count && IsSubsetOfSetWithCompatibleComparer(otherAsSet);
97
return uniqueCount ==
_thisSet
.Count && unfoundCount >= 0;
103
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
118
otherCount >
_thisSet
.Count &&
131
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
135
if (
_thisSet
.FindItemIndex(element) >= 0)
147
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
152
return
_thisSet
.Count == otherAsSet.Count && ContainsAllElements(otherAsSet);
157
return uniqueCount ==
_thisSet
.Count && unfoundCount == 0;
163
HashSet<T> hs =>
_thisSet
.Comparer.Equals(hs.Comparer),
164
SortedSet<T> sortedSet =>
_thisSet
.Comparer.Equals(sortedSet.Comparer),
165
ImmutableHashSet<T> ihs =>
_thisSet
.Comparer.Equals(ihs.KeyComparer),
166
ImmutableSortedSet<T> iss =>
_thisSet
.Comparer.Equals(iss.KeyComparer),
167
FrozenSet<T> fs =>
_thisSet
.Comparer.Equals(fs.Comparer),
192
Debug.Assert(
_thisSet
.Count != 0, "EmptyFrozenSet should have been used.");
195
int intArrayLength = (
_thisSet
.Count / BitsPerInt32) + 1;
211
int index =
_thisSet
.FindItemIndex(item);
243
if (
_thisSet
.FindItemIndex(element) < 0)
254
foreach (T item in
_thisSet
)