**** Merged from MCS ****
[mono-project.git] / mcs / btests / PropertyD.vb
blobd6dba5bf8c7b6cb011c4cea3c806c81b62139d43
1 Imports system
3 Module M
4 private i as integer
6 public WriteOnly Property p() as Integer
7 SET (ByVal val as Integer)
8 i = val
9 End SET
10 End Property
12 public ReadOnly Property p1() as Integer
13 GET
14 return i
15 END GET
16 End Property
19 Sub Main()
20 End Sub
22 End Module