When I create a test using MS Visual Studio’s builtin unit test wizard it creates code with lines like the below:
double number = 0F;
In C# ‘F’ stands for float, case-independent, and ‘D’ for double. Using ‘F’ suffix instead of ‘D’ leads to precision lost.
If it’s a bug, where can I report it to Microsoft?
I don’t see how that could be anything but a bug. Completely harmless in this case, but still a bug. You can use Connect to report this kind of thing. However, I’ve had much more important bugs swept aside than this so I wouldn’t expect much action.