Add new error case
[mono.git] / mcs / btests / ConditionalStatements1.vb
1 'System.InvalidCastException: Cast from string "String" to type 'Boolean' is not valid.
2
3 Imports System
4
5 Module ConditionalStatements1
6
7     Sub Main()
8
9         if "String" Then
10                 throw new exception("#CSC2")
11         end If
12
13     End Sub
14
15 End Module