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
/
PropertyC3.vb
blob
522c976e55f91432acc4509dc66b1a1f79dd3495
1
REM LineNo: 10
2
REM ExpectedError: BC30124
3
REM ErrorMessage: Property without a 'ReadOnly' or 'WriteOnly' specifier must provide both a 'Get' and a 'Set'.
4
5
Imports system
6
7
Module
M
8
private
i
as
integer
9
10
public Property
p
()
as
Integer
11
Get
12
return
i
13
END Get
14
End Property
15
16
Sub
Main
()
17
p
=
10
18
Console
.
WriteLine
(
p
)
19
End Sub
20
21
End Module