Take the 2-minute tour ×

I am using Doxygen and GraphViz Dot to generate some collaboration diagrams for a C# project. The problem is generic collections (like List<>) are not recognised by Doxygen. Does anyone have a solution to this?

I found this comment that doesn't seem very hopeful, but was wondering if there are any work-arounds.

share|improve this question
Using Doxygen 1.8.2 (latest release as of right now), generics look fine to me. Are you using an older version or is there something else that isn't working right? –  Patrick Quirk Nov 24 '12 at 19:54
I have edited your title. Please see, "Should questions include “tags” in their titles?", where the consensus is "no, they should not". –  John Saunders Nov 30 '12 at 5:35
Did you remove Doxygen from the title? –  Dave Hillier Dec 23 '12 at 0:30
add comment

2 Answers

According to Doxygen's changelog, generics in C# were not being indexed prior to version (released October 6). I don't see a corresponding bug for it, though looking at previous releases they've been supported for some time now.

As my comment above states, I don't see any issues using the current release (1.8.2). If that's the version you're using, please specifically mention what isn't working.

share|improve this answer
add comment

there are Issues with Generics and Some thirdPartyControls. I had same Problem. If List<> not supoorted, you can Convert List to Corresponding Array of Objects. Array will support in any Controls and Products.

Just see the example.

Need To convert DataTreeNodeCollection (List) SubNodes into DataTreeNode[]

 DataTreeNode[] subNodesArray = new DataTreeNode[SubNodes.size()];

 foreach (DataTreeNode node in SubNodes)
                    subNodesArray[count] = node;

Here I converted List to Array.

share|improve this answer
hi bradmarxmoosepi, Please let me know, if you have any doubts. –  Akshay Joy Nov 30 '12 at 5:31
Or you could use SubNodes.ToArray() –  Christoffer Nov 30 '12 at 5:51
Hi Christoffer, List<> is .Net 2.0 feature. So that's why Used this code. that also one way. –  Akshay Joy Nov 30 '12 at 6:17
@Akshay Suggesting not using generics at all just to get around an apparent doxygen limitation is not a good answer. –  Patrick Quirk Feb 15 '13 at 4:06
add comment

Your Answer


