2004-08-27 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / btests / PropertyC1.vb
1 Imports system
2
3 Module M
4         private i as integer
5
6         public Property p() as Integer
7                 GET
8                         return i
9                 END GET
10
11                 SET (ByRef val as Integer)
12                         i = val
13                 End SET
14
15         End Property
16
17         Sub Main()
18                 p = 10
19                 Console.WriteLine(p)
20         End Sub
21
22 End Module