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 642159 - C#: Multiple indexers incorrectly handled
C#: Multiple indexers incorrectly handled
Status: RESOLVED DUPLICATE of bug 640822
Product: doxygen
Classification: Other
Component: general
1.7.3
Other Windows
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-02-12 11:47 UTC by Neil MacMullen
Modified: 2011-02-12 22:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Neil MacMullen 2011-02-12 11:47:27 UTC
First of all, great program! :-) 

C# allows multiple indexers with different signatures.  Doxygen appears to treat these as properties and so only generates a single entry in the property list (the first indexer encountered).  

The following code demonstrates the issue: the Properties list for IndexerExample class contains only 

>string 	this [int n] [get]
> 	An accessor keyed by integer.

The Property Documentation section however contains both sets of information.


 class IndexerExample
    {
        /// <summary>An accessor keyed by integer</summary>
        /// <param name="n">Integer key</param>
        /// <returns></returns>
        public string this[int n]
        { get { return ""; } }

        /// <summary>An accessor keyed by string</summary>
        /// <param name="s">string key</param>
        /// <returns></returns>
        public string this[string s]
        { get { return ""; } }
    }
Comment 1 Dimitri van Heesch 2011-02-12 22:03:23 UTC
Confirmed. Should be corrected in the next subversion update.

*** This bug has been marked as a duplicate of bug 640822 ***