79566135

Date: 2025-04-10 08:43:34
Score: 1
Natty:
Report link

I encountered the same with the line:

Queue<string> colors = new(new ColorEnumerator());

VS 17.13.6 proposes to replace it with

Queue<string> colors = [];

which is overtly wrong. Should be logged as a bug.

Suppressing it with #pragma warning disable IDE0306.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Volodymyr