PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Clear
Open sandboxFocus

AdvisableHashSet<T>.Clear Method

Clear()

Removes all items from the System.Collections.Generic.ICollection<>.

Declaration
public void Clear()
Exceptions
Type Condition
NotSupportedException

The System.Collections.Generic.ICollection<> is read-only.