2 REM ExpectedError: BC30028
3 REM ErrorMessage: '#Else' must be preceded by a matching '#If' or '#ElseIf'.
6 REM ExpectedError: BC32030
7 REM ErrorMessage: '#ElseIf' cannot follow '#Else' as part of a '#If' block.
9 'BC32030: '#Else' cannot follow another '#Else' in a conditional compilation block
12 Module ConditionalCompilation
14 Console.WriteLine("Hello World 1")
18 Console.WriteLine("Hello World 2")
22 Console.WriteLine("Hello World 3")
26 Console.WriteLine("Hello World 4")
30 Console.WriteLine("Hello World 5")