repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2004-11-07 Ben Maurer <bmaurer@ximian.com>
[mono-project.git]
/
mcs
/
btests
/
OverrideC9.vb
blob
4344444da275bbdf13698c2909711dbb2e4cd966
1
REM LineNo: 12
2
REM ExpectedError: BC31408
3
REM ErrorMessage: 'Overrides' and 'Shadows' cannot be combined.
4
5
Class A
6
Public
Overridable
Sub
F1
()
7
End Sub
8
End
Class
9
10
Class B
11
Inherits A
12
Public
Overrides Shadows
Sub
F1
()
13
End Sub
14
End
Class
15
16
17
Module
OverrideC1
18
Sub
Main
()
19
End Sub
20
End Module