(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / mbas / Test / errors / ExceptionHandlingC11.vb
blob28aaf0d2f8949700620b87290628644e24a90587
1 REM LineNo: 13
2 REM ExpectedError: BC30544
3 REM ErrorMessage: Method cannot contain both a 'Try' statement and an 'On Error'
4 REM or 'Resume' statement.
6 Imports System
8 Module ExceptionHandlingC11
10 Sub Main()
11 Resume Next
12 Dim i As Integer
13 Try
14 i = 1 / i
15 Console.WriteLine(i)
16 Catch e As Exception
17 Console.WriteLine(e.Message)
18 End Try
19 End Sub
21 End Module