GNOME Bugzilla – Bug 535853
C# consts incorrectly placed under instance variables
Last modified: 2018-07-30 10:34:06 UTC
Please describe the problem: C# consts are implicitly static. The compiler complains if they are explicitly tagged with static. However, Doxygen incorrectly places consts in the instance subgroup. Ideally, consts should be listed by themselves as they are not actually variables. Steps to reproduce: 1. doxyfile: SUBGROUPING = YES 2. C# source: /// <summary> /// Incorrectly groups const c1 with instance rather than static vars. /// </summary> public class HasConsts { /// <summary>const (implicitly static) var</summary> public const int c1 = 0; /// <summary>static var</summary> public static int s1; /// <summary>instance var</summary> public int i1; } Actual results: The const variable is listed with instance variables. Expected results: The const variable is listed with static variables. Does this happen every time? Yes Other information: This may be due to the fact that Doxygen does not have a C# output option, but uses Java instead.
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!