PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Is­Proper­Subset­Of
Open sandboxFocus

AdvisableHashSet<T>.IsProperSubsetOf Method

IsProperSubsetOf(IEnumerable<T>)

Determines whether the current set is a proper (strict) subset of a specified collection.

Declaration
public bool IsProperSubsetOf(IEnumerable<T> other)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> other

The collection to compare to the current set.

Returns
Type Description
System.Boolean

true if the current set is a proper subset of other; otherwise, false.

Exceptions
Type Condition
ArgumentNullException

other is null.