consulo / consulo-csharp

Languages: C#
Apache License 2.0
50 stars 6 forks source link

Inner preprocessor blocks ignore parent block state #536

Closed VISTALL closed 5 years ago

VISTALL commented 5 years ago
#define INNER

#if NOT_ENABLED
public class PreprocessorInnerProblem {
    private int disabled = 1;

#if INNER
    private void test() {
    }
#endif

    private void disabled2() {

    }
}
#endif