Added out-of-sync check for the Deque enumerator; added unit test for the out-of-sync check

git-svn-id: file:///srv/devel/repo-conversion/nusu@166 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2009-07-14 21:52:40 +00:00
parent a56da772d4
commit 9ec6546f70
5 changed files with 65 additions and 2 deletions

View file

@ -43,7 +43,7 @@ namespace Nuclex.Support.Collections {
public void Reset() {
this.index = -1;
#if DEBUG
this.expectedVersion = priorityQueue.version;
this.expectedVersion = this.priorityQueue.version;
#endif
}