48 implementations of IsProperSupersetOf
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
200public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
76public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
178public readonly bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
663public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
42public bool IsProperSupersetOf(IEnumerable<T> other)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1259public bool IsProperSupersetOf(IEnumerable<T> other)
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
306public bool IsProperSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
308public bool IsProperSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
269public bool IsProperSupersetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
453public bool IsProperSupersetOf(IEnumerable<T> other)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
51public bool IsProperSupersetOf(IEnumerable<T> other) => _set.IsProperSupersetOf(other);
13 references to IsProperSupersetOf
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.Collections.Package (1)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.UnitTests (3)
Collections\HashSet\ISet_Generic_Tests`1.cs (2)
216Assert.Equal(isProperSuperset, set.IsProperSupersetOf(enumerable)); 316Assert.Throws<ArgumentNullException>(() => set.IsProperSupersetOf(null!));
Collections\ImmutableSetTest.cs (1)
119this.SetCompareTestHelper(s => s.IsProperSupersetOf, s => s.IsProperSupersetOf, GetIsProperSubsetOfScenarios().Select(Flip));
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
44return Underlying.IsProperSupersetOf(other);
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSet.cs (1)
434/// <inheritdoc cref="ISet{T}.IsProperSupersetOf(IEnumerable{T})" />
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
51public bool IsProperSupersetOf(IEnumerable<T> other) => _set.IsProperSupersetOf(other);
xunit.assert (1)
SetAsserts.cs (1)
286 if (actual == null || !actual.IsProperSupersetOf(expectedSuperset))