After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 535853 - C# consts incorrectly placed under instance variables
C# consts incorrectly placed under instance variables
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.2-SVN
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2008-05-30 22:48 UTC by Joshua Valentine
Modified: 2018-07-30 10:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joshua Valentine 2008-05-30 22:48:42 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.
Comment 1 Dimitri van Heesch 2012-11-18 11:07:55 UTC
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
Comment 2 André Klapper 2018-07-30 10:34:06 UTC
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!