This project is read-only.
1

Closed

Namespaces found to be empty cause EcmaDoc to crash.

description

If the EcmaDoc tool finds an empty namespace, it removes it from the documentation set. The implementation thereof is broken:
 
FileName: Project.cs
Line: 470
Code:
[code]
foreach (CodeItem ns in subject1.Namespaces.Values.Where(ns => ns.MemberCount == 0))
subject1.Namespaces.Remove(ns.Name);
[/code]
 
Reason: Modifying the content of an Enumerator while iterating over it will cause an exception "Collection was modified; enumeration operation may not execute."
Closed Jan 12, 2011 at 8:34 PM by igorfrance

comments

igorfrance wrote Jan 12, 2011 at 8:29 PM

Thanks for reporting this issue. I've made a new release (0.9.5) that has a fix.

wrote Jan 12, 2011 at 8:34 PM

wrote Jan 31, 2013 at 10:47 PM

wrote May 14, 2013 at 2:30 AM