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
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
btests
/
EventH.vb
blob
db0969d9498d1bf08b9709423bd19dc576e4227f
1
REM LineNo: 29
2
REM ExpectedError: BC30183
3
REM ErrorMessage: Keyword is not valid as an identifier.
4
5
Imports System
6
7
Class C
8
Public Event
E
9
10
Public Sub
S
()
11
RaiseEvent
E
12
End Sub
13
End
Class
14
15
Class C1
16
17
Inherits C
18
19
Public Event
E1
20
21
Sub
call_S
()
22
S
()
23
End Sub
24
25
Sub
EH
()
Handles MyBase
.
E
26
Console
.
WriteLine
(
"event-H called"
)
27
End Sub
28
29
Sub
EH1
()
Handles
Me
.
E1
30
End Sub
31
End
Class
32
33
Module
M
34
Sub
Main
()
35
dim
y
as new
C1
()
36
y
.
call_S
()
37
End Sub
38
End Module