The tool is reporting many undisposed instances of SortedList<>.Enumerator. The enumeration is done through Linq, but even if I re-write the code to use a foreach (or a using+while loop, which is the same thing), the Enumerator objects still show up as undisposed.
Any ideas on why that might be happening?
However, in v2.6, a boxed value type implementing IDisposable is classified as a disposable class, but Dispose method calls are still not tracked. This causes a boxed instance to be counted as undisposed when it's GCed. This is a bug that is easily fixed, but we have not built a new version of v2.6 for nearly two years, so I'm not sure how long it will take. I will get back to you when I have some more information.
SciTech Software AB
Users browsing this forum: No registered users and 28 guests