As a follow-up to #518 - there is one more preprocessor directive that Consulo seems not to understand: #error. This directive (only when inside enabled preprocessor block) should produce compilation error with the message that is given in this line. Just like #warning does, but error instead of warning.
As a follow-up to #518 - there is one more preprocessor directive that Consulo seems not to understand:
#error
. This directive (only when inside enabled preprocessor block) should produce compilation error with the message that is given in this line. Just like#warning
does, but error instead of warning.Complete list of C# preprocessor directives can be found here: https://docs.microsoft.com/ru-ru/dotnet/csharp/language-reference/preprocessor-directives/
if
else
elif
endif
define
undef
warning
line
region
endregion
pragma
pragma warning
pragma checksum