dotnet / dotnet/dotnet-api-docs

VS display incorrect format comment C# code for double, float, decimal, half... when mouse hover on ==, != operator

Open
#10,174 3 comments 0 reactions 0 assignees View on GitHub
area-System.Numerics Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/VS-display-incorrect-format-comment-C-c/10702477)._

---
VS 2022 Version 17.10.4 display incorrect format comment C# code for double, float, decimal, half... when mouse hover on ==, != operator (Vs code also displays incorrectly the same as VS). I have checked the source code in github it seems correct.

![devenv_YEezlyLpX1.gif](https://aka.ms/dc/image?name=B1bcb14dc537a408bab784b011b483a20638564901470315602_devenv_YEezlyLpX1.gif&tid=1bcb14dc537a408bab784b011b483a20638564901470315602)

![inelegan.PNG](https://aka.ms/dc/image?name=Ba5669d7800814cbbbe4f4da74bc67e2d638564903542719163_inelegan.PNG&tid=a5669d7800814cbbbe4f4da74bc67e2d638564903542719163)

![IEqualyComment.PNG](https://aka.ms/dc/image?name=Beb9ebc2b36054d7aac8bea4e0c740b49638564903682749665_IEqualyComment.PNG&tid=eb9ebc2b36054d7aac8bea4e0c740b49638564903682749665)

---
### Original Comments

#### Feedback Bot on 7/14/2024, 07:14 PM:

(private comment, text removed)

---
### Original Solutions
(no solutions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.