128 implementations of SetEquals
GenerateDocumentationAndConfigFiles (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Metrics (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Metrics.Legacy (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Extensions.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Roslyn.Diagnostics.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1291public bool SetEquals(IEnumerable<T> other)
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenSet.cs (1)
475public bool SetEquals(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
346public bool SetEquals(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
279public bool SetEquals(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
309public bool SetEquals(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
369public bool SetEquals(IEnumerable<T> other)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1123public bool SetEquals(IEnumerable<T> other)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
63public bool SetEquals(IEnumerable<T> other) => _set.SetEquals(other);
Test.Utilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
Text.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
236public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
98public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
205public readonly bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
740public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
65public bool SetEquals(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
64public bool SetEquals(IEnumerable<T> other)
87 references to SetEquals
GenerateDocumentationAndConfigFiles (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Metrics (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Metrics.Legacy (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.AspNetCore.HttpLogging (1)
FileLoggerProcessor.cs (1)
75if (_fields != loggerOptions.LoggingFields || !_additionalHeaders.SetEquals(loggerOptions.AdditionalRequestHeaders))
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Analyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.CodeStyle (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Collections.Package (3)
Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Extensions.Package (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.InteractiveHost (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Threading.Package (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.UnitTests (8)
Collections\HashSet\ISet_Generic_Tests`1.cs (5)
264Assert.False(set.SetEquals(enumerable)); 272Assert.False(set.SetEquals(enumerable)); 276Assert.True(set.SetEquals(enumerable)); 320Assert.Throws<ArgumentNullException>(() => set.SetEquals(null!)); 514Assert.True(set.SetEquals(set));
Collections\ImmutableSetTest.cs (1)
107this.SetCompareTestHelper(s => s.SetEquals, s => s.SetEquals, this.GetSetEqualsScenarios());
InternalUtilities\SpecializedCollectionsTests.cs (2)
55Assert.True(emptySet.SetEquals(new int[0])); 56Assert.False(emptySet.SetEquals(new int[1]));
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Microsoft.CodeAnalysis.Workspaces.UnitTests (13)
UtilityTest\IntervalTreeTests.cs (13)
95Assert.True(Set("A").SetEquals(spans)); 106Assert.True(Set("A").SetEquals(spans)); 117Assert.True(Set("A").SetEquals(spans)); 128Assert.True(Set("A").SetEquals(spans)); 139Assert.True(Set("A").SetEquals(spans)); 150Assert.True(Set("A").SetEquals(spans)); 161Assert.True(Set("A").SetEquals(spans)); 176Assert.True(Set("A").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 2).Select(i => i.Item3))); 177Assert.True(Set("B").SetEquals(GetIntervalsThatOverlapWith(tree, 16, 2).Select(i => i.Item3))); 180Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 2, 20).Select(i => i.Item3))); 181Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 2, 14).Select(i => i.Item3))); 182Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 10).Select(i => i.Item3))); 183Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 20).Select(i => i.Item3)));
Microsoft.DotNet.Build.Tasks.Packaging (1)
CreateTrimDependencyGroups.cs (1)
116!group.Packages.SetEquals(nearestGroup.Packages) ||
Microsoft.ML.Data (1)
Commands\TypeInfoCommand.cs (1)
62return x.SetEquals(y);
Roslyn.Diagnostics.Analyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSet.cs (1)
474/// <inheritdoc cref="ISet{T}.SetEquals(IEnumerable{T})" />
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
63public bool SetEquals(IEnumerable<T> other) => _set.SetEquals(other);
Test.Utilities (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
Text.Analyzers (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
117return source1.ToSet(comparer).SetEquals(source2); 132return source1.ToSet().SetEquals(source2);
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
66return Underlying.SetEquals(other);
xunit.assert (1)
Sdk\CollectionTracker.cs (1)
368 return setX.SetEquals(setY);