2004-11-07 Ben Maurer <bmaurer@ximian.com>
[mono-project.git] / mcs / btests / OverrideC9.vb
blob4344444da275bbdf13698c2909711dbb2e4cd966
1 REM LineNo: 12
2 REM ExpectedError: BC31408
3 REM ErrorMessage: 'Overrides' and 'Shadows' cannot be combined.
5 Class A
6 Public Overridable Sub F1()
7 End Sub
8 End Class
10 Class B
11 Inherits A
12 Public Overrides Shadows Sub F1()
13 End Sub
14 End Class
17 Module OverrideC1
18 Sub Main()
19 End Sub
20 End Module