Skip to content

Commit

Permalink
Fixes #37
Browse files Browse the repository at this point in the history
Fixes issue: Nesting groups without index pages could lead to
'Collection was modified' exception.
  • Loading branch information
FransBouma committed Oct 25, 2016
1 parent 82e8108 commit a2357b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/DocNet/NavigationLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ public override void CollectSearchIndexEntries(List<SearchIndexEntry> collectedE
public override void GenerateOutput(Config activeConfig, NavigatedPath activePath)
{
activePath.Push(this);
foreach(var element in this.Value)
int i = 0;
while(i<this.Value.Count)
{
var element = this.Value[i];
element.GenerateOutput(activeConfig, activePath);
i++;
}
activePath.Pop();
}
Expand Down
4 changes: 2 additions & 2 deletions src/DocNet/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.13.0.0")]
[assembly: AssemblyFileVersion("0.13.0")]
[assembly: AssemblyVersion("0.13.1.0")]
[assembly: AssemblyFileVersion("0.13.1")]

0 comments on commit a2357b8

Please sign in to comment.