Enhancement Request for C# Language - Simplified Display of Property Values in Documentation Comments #7780
Unanswered
Mortens4444
asked this question in
Language Ideas
Replies: 2 comments 1 reply
-
That's not how comments work - what value a property is assigned cannot be referenced in any way by the comments XML. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you want that to work, you need to at least create a constant for the value to be assigned, the request some syntax to embed a constant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing to request an enhancement in the C# language that would simplify the display of property values in documentation comments.
Consider the following class structure:
I wanted a documentation comment that shows the name value of the class.
So I created this one:
But this would be much better.
What is your opinion? Or even without the inheritdoc, much better.
Beta Was this translation helpful? Give feedback.
All reactions