* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / errors / ConditionalCompilationC10.vb
1 REM LineNo: 10
2 REM ExpectedError: BC30012
3 REM ErrorMessage: '#If' block must end with a matching '#End If'.
4
5 Imports System
6 Module ConditionalCompilation
7         Sub Main()
8                 Console.WriteLine("Hello World 1")
9         End Sub
10 #If False
11         Sub A()
12                 Console.WriteLine("Hello World 2")
13         End Sub
14 #ElseIf True
15         Sub B()
16                 Console.WriteLine("Hello World 3")
17         End Sub
18 #Else
19         Sub C()
20                 Console.WriteLine("Hello World 4")
21         End Sub
22 End Module