SortedSet: implement IntersectWith, UnionWith, ExceptWith and SymmetricExceptWith
authorRaja R Harinath <harinath@hurrynot.org>
Sun, 4 Apr 2010 18:22:37 +0000 (18:22 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Sun, 4 Apr 2010 18:22:37 +0000 (18:22 -0000)
commit40979641a255d7298d4f255adac11925723d9ff0
treeaddb84b0ef356dc8129220a4c5ec22cb08a0d205
parentf33ea4016b16a01946f2401b6b8970984860a9e3
SortedSet: implement IntersectWith, UnionWith, ExceptWith and SymmetricExceptWith

* System.Collections.Generic/SortedSet.cs (CheckArgumentNotNull): New helper.
(IntersectWith, UnionWith): Implement.
(ExceptWith, SymmetricExceptWith): Likewise.
(SortedSubSet.IntersectWith): Implement override.
* Test/System.Collections.Generic/SortedSetTest.cs: Add tests for IntersectWith,
UnionWith, ExceptWith and SymmetricExceptWith.

svn path=/trunk/mcs/; revision=154769
mcs/class/System/System.Collections.Generic/ChangeLog
mcs/class/System/System.Collections.Generic/SortedSet.cs
mcs/class/System/Test/System.Collections.Generic/ChangeLog
mcs/class/System/Test/System.Collections.Generic/SortedSetTest.cs