This question is locked. New answers and comments are not allowed.
Hi,
at some places we used pragma to disable special warning.
Some example: disable a compiler warning for code where an Exception is analysed if code is reached. In this case the variable is there to look into the stacktrace, but the warning that it should not be used is useless, as the code should only be there for investigation.
at some places we used pragma to disable special warning.
Some example: disable a compiler warning for code where an Exception is analysed if code is reached. In this case the variable is there to look into the stacktrace, but the warning that it should not be used is useless, as the code should only be there for investigation.
So.. the errorlist from visual studio does not contain the warning any longer as wished. Is there a way to tell JustCode to also ignore all suppressed warning, or is additional work needed to ignore this warning on every developers machine?#pragma warning disable 0168
catch
(Exception exception)
#pragma warning restore 0168
{
if
(System.Diagnostics.Debugger.IsAttached)
// stop at a supicious point for further investigation
{
System.Diagnostics.Debugger.Break();
}
throw
;
}