4 ms·
In C# one can always #pragma warning disable ${list of warnings} and #pragma warning restore ${list of warnings} https://msdn.microsoft.com/en-us/librar
by cema 10y ago
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 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.