C# 10 nullable type "?" character display seems inconsistent in the Intellisense display of the XML documentation #60833
Labels
Area-IDE
Concept-Design Debt
Engineering Debt, Design Debt, or poor product code quality
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
IDE-IntelliSense
Completion, Signature Help, Quick Info
IntelliSense-Quick Info
Milestone
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice]
Consider the following code snippet:
With reference to the XML documentation, with
cref="ICollection?"/>
, Intellisense will not display the?
, which is why I put it after the<see />
block.However, with
<see cref="string?"/>
, it will display the?
.<see cref="MatchCollection?"/>
won't display the?
.Two of these examples are classes, one is an interface.
I noticed the
?
won't display with generics, such aspublic A[]? MyFunc()
.Original Comments
Feedback Bot on 4/18/2022, 05:52 AM:
(private comment, text removed)
Feedback Bot on 4/18/2022, 07:29 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: