BUG Reformat code with type member layout

The following situation with fields:
#region Readonly & Static Fields

#if DEBUG

private static bool useDeadlockDetection = true;

#else

private static bool useDeadlockDetection;

#endif

#endregion



WILL BE REFORMATED TO:



#region Readonly & Static Fields



#if DEBUG

private static bool useDeadlockDetection = true;

#endregion // ERROR!!!! #endif directive expected!!

#else

private static bool useDeadlockDetection;

#endif



Please analysing an #if #else #endif in the last line of a Entry / Match
block!!

Have a nice day

Josef






Please sign in to leave a comment.