**** Merged from MCS ****
[mono-project.git] / mcs / mbas / Test / errors / PropertyC2.vb
blob9e539a0c798192fa14d191f024900947fe94a951
1 REM LineNo: 14
2 REM ExpectedError: BC31064
3 REM ErrorMessage: 'Set' parameter must have the same type as the containing property.
5 Imports system
7 Module M
8 private i as integer
10 public Property p() as Integer
11 GET
12 END GET
14 SET (ByVal val as string)
15 End SET
17 End Property
19 Sub Main()
20 End Sub
22 End Module