Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In C# one can always

  #pragma warning disable ${list of warnings}
and

  #pragma warning restore ${list of warnings}
https://msdn.microsoft.com/en-us/library/441722ys.aspx

Although frankly the list of warnings to disable and restore consists of warning numbers, not names, which is not super convenient.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: