Add new error case
[mono.git] / mcs / btests / RegionDirectivesC1.vb
1 REM LineNo: 15
2 REM ExpectedError: BC32025
3 REM ErrorMessage: '#Region' and '#End Region' statements are not valid within method bodies.
4
5 REM LineNo: 17
6 REM ExpectedError: BC32025
7 REM ErrorMessage: '#Region' and '#End Region' statements are not valid within method bodies.
8
9 'Line 7, BC32025: '#Region' or '#End Region' directives cannot appear within a method body
10 'Line 9, BC32025: '#Region' or '#End Region' directives cannot appear within a method body
11
12 Imports System
13 Module RegionDirectives
14         Sub Main()
15                 #Region
16
17                 #End Region     
18         End Sub
19 End Module