49 implementations of IntersectWith
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
374void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
68public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
170public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
429public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
32public void IntersectWith(IEnumerable<T> other)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
986public virtual void IntersectWith(IEnumerable<T> other)
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenSet.cs (1)
407void ISet<T>.IntersectWith(IEnumerable<T> other) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
285public void IntersectWith(IEnumerable<T> other)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
456void ISet<T>.IntersectWith(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
237public void IntersectWith(IEnumerable<T> other)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
680void ISet<T>.IntersectWith(IEnumerable<T> other)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
87void ISet<T>.IntersectWith(IEnumerable<T> other) => throw new NotSupportedException();
10 references to IntersectWith
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
98commonTypes.IntersectWith(currentTypes);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEEventSymbol.cs (1)
393implementedEvents.IntersectWith(PEPropertyOrEventHelpers.GetEventsForExplicitlyImplementedAccessor(_removeMethod));
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
98commonTypes.IntersectWith(currentTypes);
Microsoft.CodeAnalysis.UnitTests (6)
Collections\HashSet\ISet_Generic_Tests`1.cs (5)
148set.IntersectWith(enumerable); 154set.IntersectWith(enumerable); 164set.IntersectWith(enumerable); 324Assert.Throws<ArgumentNullException>(() => set.IntersectWith(null!)); 332Assert.Throws<NotSupportedException>(() => set.IntersectWith(null!));
Collections\ImmutableSetTest.cs (1)
175Assert.Throws<NotSupportedException>(() => set.IntersectWith(null!));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PEEventSymbol.vb (1)
279implementedEvents.IntersectWith(PEPropertyOrEventHelpers.GetEventsForExplicitlyImplementedAccessor(Me.RemoveMethod))