AdvisableHashSet<T>.IntersectWith Method |
Modifies the current set so that it contains only elements that are also in a specified collection.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public void IntersectWith( IEnumerable<T> other )
Parameters
- other
- Type: System.Collections.Generic.IEnumerable<T>
The collection to compare to the current set.
Implements
ISet<T>.IntersectWith(IEnumerable<T>)Exception | Condition |
---|---|
ArgumentNullException | other is null. |