#if !DEBUG Permanently deleted user Created July 30, 2004 17:36 resharper doesn't work with #iflook in ApplicationAssert.cs in the SystemFramework in the Duwamish sample
#if !DEBUG
return 0;
#else
return (new StackTrace(1, true)).GetFrame(0).GetFileLineNumber();
#endif
this gives me a code is unreachable error but it is valid and compiles 100%
"Pieter Jansen van Vuuren" <sp@m_me pieter[at]psh.co.za> wrote in message
news:cedtf5$djt$1@is.intellij.net...
>
>
>
I agree this should be fixed. It's been talked about before:
http://www.intellij.net/forums/thread.jsp?forum=37&thread=102507&tstart=30&trange=15