48 implementations of IsProperSubsetOf
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
196public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
72public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
174public readonly bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
570public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
37public bool IsProperSubsetOf(IEnumerable<T> other)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1208public bool IsProperSubsetOf(IEnumerable<T> other)
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
296public bool IsProperSubsetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
296public bool IsProperSubsetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
259public bool IsProperSubsetOf(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
403public bool IsProperSubsetOf(IEnumerable<T> other)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
48public bool IsProperSubsetOf(IEnumerable<T> other) => _set.IsProperSubsetOf(other);
14 references to IsProperSubsetOf
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.Collections.Package (1)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
592if (modifierTokens.IsProperSubsetOf(validModifiers))
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.UnitTests (3)
Collections\HashSet\ISet_Generic_Tests`1.cs (2)
191Assert.Equal(!setContainsValueNotInEnumerable && enumerableContainsValueNotInSet, set.IsProperSubsetOf(enumerable)); 315Assert.Throws<ArgumentNullException>(() => set.IsProperSubsetOf(null!));
Collections\ImmutableSetTest.cs (1)
113this.SetCompareTestHelper(s => s.IsProperSubsetOf, s => s.IsProperSubsetOf, GetIsProperSubsetOfScenarios());
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
39return Underlying.IsProperSubsetOf(other);
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSet.cs (1)
424/// <inheritdoc cref="ISet{T}.IsProperSubsetOf(IEnumerable{T})" />
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
48public bool IsProperSubsetOf(IEnumerable<T> other) => _set.IsProperSubsetOf(other);
xunit.assert (1)
SetAsserts.cs (1)
257 if (actual == null || !actual.IsProperSubsetOf(expectedSubset))