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 638606 - Support for C# nullable types
Support for C# nullable types
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2011-01-03 20:28 UTC by Jaap Goddijn
Modified: 2018-07-30 10:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jaap Goddijn 2011-01-03 20:28:10 UTC
Hi,

i would like to request support for the following:

support for C# nullable types in the form of such as "int?". Supporting this means that the question mark in "int?" goes into the generated documentation.

At the moment (version 1.7.3), the question mark is not shown in the generated documentation.

Thanks,

Jaap Goddijn

P.S. follow the link for documentation on nullable types in C#: http://msdn.microsoft.com/en-us/library/2cf62fcy(v=VS.100).aspx
Comment 1 cuspymd 2018-02-01 10:30:13 UTC
If nullable type is declared in function arguments, it be displayed correctly. However, it is not displayed otherwise.(version 1.8.13)
Comment 2 albert 2018-02-01 12:07:06 UTC
I found in the link a small example of nullable types:
int? i = 10;
double? d1 = 3.14;
bool? flag = null;
char? letter = 'a';
int?[] arr = new int?[10];
but I didn't, quickly, see an example for functions (even though it works comment of cuspymd).
Can you please attach a self contained example (source+config file in a tar or zip) that allows us to reproduce the problem?
Comment 3 albert 2018-02-01 13:09:57 UTC
I've just pushed a proposed patch to github (pull request 645)

An example would still be appreciated (with results / missing information)
Comment 4 cuspymd 2018-02-02 01:50:01 UTC
I said "function arguments". below is an example at version 1.8.13

- The method 'AnimateBackgroundColor' in (https://github.com/Samsung/TizenFX/blob/master/src/Tizen.NUI/src/public/BaseComponents/View.cs)
===========================================================================

        public Animation AnimateBackgroundColor(object destinationValue,
                                                 int startTime,
                                                 int endTime,
                                                 AlphaFunction.BuiltinFunctions? alphaFunction = null,
                                                 object initialValue = null)
===========================================================================


- Part of the xml file generated by doxygen(1.8.13)
===========================================================================
        <definition>Animation Tizen.NUI.BaseComponents.View.AnimateBackgroundColor</definition>
        <argsstring>(object destinationValue, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction=null, object initialValue=null)</argsstring>
        <name>AnimateBackgroundColor</name>
        <param>
          <type>object</type>
          <declname>destinationValue</declname>
        </param>
        <param>
          <type>int</type>
          <declname>startTime</declname>
        </param>
        <param>
          <type>int</type>
          <declname>endTime</declname>
        </param>
        <param>
          <type><ref refid="class_tizen_1_1_n_u_i_1_1_alpha_function_1a637382676e1944444f1329777d6ee90e" kindref="member">AlphaFunction.BuiltinFunctions</ref>?</type>
          <declname>alphaFunction</declname>
          <defval>null</defval>
        </param>
        <param>
          <type>object</type>
          <declname>initialValue</declname>
          <defval>null</defval>
        </param>
=============================================================================
Comment 5 albert 2018-02-06 09:07:06 UTC
Thanks, looks all OK to me in doxygen.
Comment 6 albert 2018-02-10 13:59:05 UTC
Patch has been integrated into main development branch on github.
Comment 7 André Klapper 2018-07-30 10:23:43 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!