Conversation
The CS0414 warning has been changed to IDE0044. As a consequence, we should remove or update this file: docs/docs/csharp/misc/cs0414.md
BillWagner
left a comment
There was a problem hiding this comment.
Thanks for updating this @johnnyagerard
I did suggest a better fix than the one you supplied.
| using System; | ||
|
|
||
| #pragma warning disable 414, CS3021 | ||
| #pragma warning disable IDE0044, CS3021 |
There was a problem hiding this comment.
Instead of IDE0044 this should disable CS0414. The original, which only had 414 is misleading.
|
@BillWagner All right, now I understand. |
Close. The CS* warnings are generated by the compiler. The IDE* warnings are generated by Visual Studio for suggested refactorings or code fixes. (The IDE* warnings often generate a lightbulb suggestion to change code.) |
|
@BillWagner Well, now I have the exact explanation of what got me confused. |
The CS0414 warning has been changed to IDE0044.
As a consequence, we should remove or update this file:
docs/docs/csharp/misc/cs0414.md