Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for C# nullable types (Origin: bugzilla #638606) #4064

Closed
doxygen opened this issue Jul 2, 2018 · 1 comment
Closed

Support for C# nullable types (Origin: bugzilla #638606) #4064

doxygen opened this issue Jul 2, 2018 · 1 comment

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status ASSIGNED severity enhancement in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

On 2011-01-03 20:28:10 +0000, Jaap Goddijn wrote:

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

On 2018-02-01 10:30:13 +0000, cuspymd wrote:

If nullable type is declared in function arguments, it be displayed
correctly. However, it is not displayed otherwise.(version 1.8.13)

On 2018-02-01 12:07:06 +0000, albert wrote:

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?

On 2018-02-01 13:09:57 +0000, albert wrote:

I've just pushed a proposed patch to github (pull request 645)

An example would still be appreciated (with results / missing information)

On 2018-02-02 01:50:01 +0000, cuspymd wrote:

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>

=============================================================================

On 2018-02-06 09:07:06 +0000, albert wrote:

Thanks, looks all OK to me in doxygen.

On 2018-02-10 13:59:05 +0000, albert wrote:

Patch has been integrated into main development branch on github.
@doxygen doxygen added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Jul 18, 2018
@doxygen
Copy link
Owner Author

doxygen commented Aug 8, 2019

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.8.16.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Aug 8, 2019
@doxygen doxygen closed this as completed Aug 8, 2019
albert-github added a commit to albert-github/doxygen that referenced this issue Oct 30, 2019
…in constructor results in faulty warning

Problem due to the implementation of "Support for C# nullable types (Origin: bugzilla #638606)" (issue doxygen#4064, pull request doxygen#645). The used condition was a bit to stringent so later on the function was not recognized as constructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant