Mercurial > repos > IBBoard
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:fbccf27f3bd1 | 3:3dab3db95e4a |
---|---|
82 get { return false; } | 82 get { return false; } |
83 } | 83 } |
84 | 84 |
85 public IEnumerator GetEnumerator() | 85 public IEnumerator GetEnumerator() |
86 { | 86 { |
87 return dictionary.GetEnumerator(); | 87 return dictionary.Values.GetEnumerator(); |
88 } | 88 } |
89 | 89 |
90 } | 90 } |
91 } | 91 } |