48 implementations of IsSupersetOf
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
208public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
84public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
186public readonly bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
618public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
52public bool IsSupersetOf(IEnumerable<T> other)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1232public bool IsSupersetOf(IEnumerable<T> other)
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
326public bool IsSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
332public bool IsSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
289public bool IsSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
515public bool IsSupersetOf(IEnumerable<T> other)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
57public bool IsSupersetOf(IEnumerable<T> other) => _set.IsSupersetOf(other);
14 references to IsSupersetOf
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.Collections.Package (1)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\HashSet\ISet_Generic_Tests`1.cs (3)
237Assert.False(set.IsSupersetOf(enumerable)); 240Assert.True(set.IsSupersetOf(enumerable)); 318Assert.Throws<ArgumentNullException>(() => set.IsSupersetOf(null!));
Collections\ImmutableSetTest.cs (1)
131this.SetCompareTestHelper(s => s.IsSupersetOf, s => s.IsSupersetOf, GetIsSubsetOfScenarios().Select(Flip));
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
54return Underlying.IsSupersetOf(other);
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSet.cs (1)
454/// <inheritdoc cref="ISet{T}.IsSupersetOf(IEnumerable{T})" />
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
57public bool IsSupersetOf(IEnumerable<T> other) => _set.IsSupersetOf(other);
xunit.assert (1)
SetAsserts.cs (1)
334 if (actual == null || !actual.IsSupersetOf(expectedSuperset))