* Mono.Posix.dll.sources: Rename Mono.Posix to Mono.Unix.
[mono.git] / mcs / btests / ConditionalCompilationC1.vb
1 REM LineNo: 17
2 REM ExpectedError: BC30648
3 REM ErrorMessage: String constants must end with a double quote.
4
5 REM LineNo: 22
6 REM ExpectedError: BC30037
7 REM ErrorMessage: Character is not valid.
8
9 'Line 9,  BC30648: String constants must end with a double quote.
10 'Line 14, BC30037: Character is not valid.
11
12 Imports System
13 Module ConditionalCompilation
14         Sub Main()
15                 'Syntactically wrong statement within #If block that satisfies the condition
16                 #If True
17                         Console.WriteLine("Hello)
18                 #End If
19
20                 'Lexically invalid statement within #If block that satisfies condition
21                 #If True
22                         @#$^**
23                 #End If
24                 
25                 'Lexically invalid statement within #If block that does not satisfies condition
26                 #If False
27                         DD@##$
28                 #End If
29                 
30         End Sub
31 End Module