projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcases for Late Binding and typemembers
[mono.git]
/
mcs
/
mbas
/
Test
/
errors
/
TypeMembersC4.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2005 Novell, Inc.
5
6
REM LineNo: 19
7
REM ExpectedError: BC30241
8
REM ErrorMessage: Named argument expected.
9
10
Class C
11
Public Function fun(i as integer, a1 as Char)
12
return 10
13
End Function
14
End Class
15
16
Module M
17
Sub Main()
18
dim o as C = new C()
19
dim a as integer = o.fun(a1 := "s", 2)
20
End Sub
21
End Module