Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Hash­Set(T) Class / Advisable­Hash­Set(T) Methods / Advisable­Hash­Set(T).​Symmetric­Except­With Method

AdvisableHashSet<T>.SymmetricExceptWith Method

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.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public void SymmetricExceptWith(
	IEnumerable<T> other
)

Parameters

other
Type: System.Collections.Generic.IEnumerable<T>
The collection to compare to the current set.

Implements

ISet<T>.SymmetricExceptWith(IEnumerable<T>)
Exceptions
ExceptionCondition
ArgumentNullExceptionother is null.
See Also