I like to keep my ReSharper Status Indicator Green, and I'm also learning the value of value of having Debug.Assert() statements many places, especially where errors "cannot happen." :D
To satisfy both these needs I have many methods that end similar to this snippet.
2: default :
3: Debug.Assert(false, "type/fieldNum not processed");
4: // ReSharper disable HeuristicUnreachableCode
5: return null;
6: // ReSharper restore HeuristicUnreachableCode
Is there some way to tell R# that Debug.Assert() doesn't "block" code after it? Thanks!