0

enter image description here

This is quite annoying. Any idea on how to fix this without the #pragma code?

EDIT: You just have to restart visual studio and it'll work...

Techadox
  • 35
  • 3
  • Have you tried to clean up solution and rebuild? – Sergey K Oct 07 '17 at 10:39
  • sometimes it's just VS issue. Try to restart Visual Studio and rebuild solution. – madoxdev Oct 07 '17 at 10:39
  • Possible duplicate of [Suppressing "is never used" and "is never assigned to" warnings in C#](https://stackoverflow.com/questions/3820985/suppressing-is-never-used-and-is-never-assigned-to-warnings-in-c-sharp) – NightOwl888 Oct 07 '17 at 10:41

1 Answers1

0

Turns out it was as simple as restarting visual studio... Who would've thought...

Techadox
  • 35
  • 3