128 implementations of IntersectWith
GenerateDocumentationAndConfigFiles (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Metrics (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Metrics.Legacy (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.CodeStyle (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Collections.Package (6)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Extensions.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.InteractiveHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Threading.Package (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Roslyn.Diagnostics.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public 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 (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
817public void IntersectWith(IEnumerable<T> other)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
87void ISet<T>.IntersectWith(IEnumerable<T> other) => throw new NotSupportedException();
Test.Utilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
Text.Analyzers (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
376void ISet<T>.IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Builder.cs (1)
70public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
172public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
431public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (1)
35public void IntersectWith(IEnumerable<T> other)
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (1)
34public void IntersectWith(IEnumerable<T> other)
11 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 (7)
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!));
InternalUtilities\SpecializedCollectionsTests.cs (1)
61Assert.Throws<NotSupportedException>(() => emptySet.IntersectWith(new int[0]));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PEEventSymbol.vb (1)
279implementedEvents.IntersectWith(PEPropertyOrEventHelpers.GetEventsForExplicitlyImplementedAccessor(Me.RemoveMethod))