#if !DEBUG

resharper doesn't work with #if

look in ApplicationAssert.cs in the SystemFramework in the Duwamish sample


1
2 comments
Avatar
Permanently deleted user

#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...

resharper doesn't work with #if

>

look in ApplicationAssert.cs in the SystemFramework in the Duwamish sample

>
>


0
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.