Doxygen C # XML Comments: Multiply enum with the same name and different scope combined?

I have a very strange problem with Doxygen: I used it to create documentation from the XML tags of my C # code, as suggested in another StackOverflow question. This is basically the situation:

//file: Foo1
public class Foo1
{
    public enum Bar
    {
        Bar1,
        Bar2
    }
}
//file: Foo2
public class Foo2
{
    public enum Bar
    {
        Bar3,
        Bar4
    }
}

And in the final docs created by Doxygen, I:

Foo1 Class Reference
(...)
Public types
enum Bar {
  Bar1, Bar2, Bar3, Bar4
}

and

Foo2 class reference
(...)
Public types
enum Bar {
  Bar1, Bar2, Bar3, Bar4
}

I do not know if this is a mistake, or I did something wrong with the Doxygen configuration.

0
source share
1 answer

This is a bug in Doxygen 1.5.5-1.5.9, which is claimed to have been fixed in Doxygen 1.6.0.

.

+3

Source: https://habr.com/ru/post/1536812/


All Articles