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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
btests
/
PropertyC5.vb
blob
111e72604276ece918f5d2ddc838053d7169bc0c
1
REM LineNo: 11
2
REM ExpectedError: BC30023
3
REM ErrorMessage: Properties declared 'WriteOnly' cannot have a 'Get'.
4
5
Imports system
6
7
Module
M
8
private
i
as
integer
9
10
public
WriteOnly
Property
p
()
as
Integer
11
GET
12
return
i
13
END GET
14
15
SET
(
ByVal
val
as
Integer
)
16
i
=
val
17
End SET
18
End Property
19
20
Sub
Main
()
21
End Sub
22
23
End Module