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
* MonthCalendar.cs:
[mono-project.git]
/
mcs
/
btests
/
MustInheritC2.vb
blob
bacf32cfed67a27f55a1c7d7571702831b5b7a7c
1
REM LineNo: 9
2
REM ExpectedError: BC30610
3
REM ErrorMessage: Class 'C2' must either be declared 'MustInherit' or override the following inherited 'MustOverride' member(s): Public MustOverride Function F1() As Object.
4
5
MustInherit Class C1
6
Public
MustOverride
Function
F1
()
7
End
Class
8
9
Class C2
10
Inherits C1
11
End
Class
12
13
Module
MustInheritC2
14
Sub
Main
()
15
End Sub
16
End Module