diff Collections/SimpleSet.cs @ 3:3dab3db95e4a

Fix SimpleSet so that the enumerator works over the values in the set
author IBBoard <dev@ibboard.co.uk>
date Tue, 23 Dec 2008 14:21:03 +0000
parents 961030992bd2
children 0352fa33ee8f
line wrap: on
line diff
--- a/Collections/SimpleSet.cs	Fri Dec 19 16:43:12 2008 +0000
+++ b/Collections/SimpleSet.cs	Tue Dec 23 14:21:03 2008 +0000
@@ -84,7 +84,7 @@
 		
 		public IEnumerator GetEnumerator()
 		{
-			return dictionary.GetEnumerator();
+			return dictionary.Values.GetEnumerator();
 		}
 
 	}