PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Symmetric­Except­With
Open sandboxFocus

AdvisableHashSet<T>.SymmetricExceptWith Method

SymmetricExceptWith(IEnumerable<T>)

Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.

Declaration
public void SymmetricExceptWith(IEnumerable<T> other)
Parameters
Type Name Description
IEnumerable<T> other

The collection to compare to the current set.

Exceptions
Type Condition
ArgumentNullException

other is null.