7 implementations of Intersect
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
332IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
332IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedHashSet`1.cs (1)
332IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
332IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
332IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
382IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
626IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other)
3 references to Intersect
Microsoft.CodeAnalysis.UnitTests (3)
Collections\ImmutableSetTest.cs (1)
225set = set.Intersect(new[] { (string?)null });
Collections\ImmutableSetTest.nonnetstandard.cs (2)
139Assert.True(set.Intersect(Enumerable.Empty<T>()).Count == 0); 144var actual = set.Intersect(values);