**** Merged from MCS ****
[mono-project.git] / mcs / btests / WithStatementC4.vb
bloba809387065e5c2b997ec94e0b36f02aa2f273e77
1 REM LineNo: 14
2 REM ExpectedError: BC30085
3 REM ErrorMessage: 'With' must end with a matching 'End With'.
5 Imports System
7 Module WithStatementC4
8 Class C1
9 Public a1 As Integer = 10
10 End Class
12 Sub main()
13 Dim a As New C1()
14 With a
15 .a1 = 20
17 End Sub
19 End Module