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
/
InterfaceC1.vb
blob
786a2cd767b5ab2de1439f34ea0938ef6b24886c
1
REM LineNo: 18
2
REM ExpectedError: BC30375
3
REM ErrorMessage: 'New' cannot be used on an interface.
4
5
Interface I
6
Function
F
()
7
End
Interface
8
9
Class C
10
Implements I
11
12
Function
F
()
Implements I
.
F
13
End Function
14
End
Class
15
16
Module
InterfaceC1
17
Sub
Main
()
18
Dim
x
As
I
=
New
I
()
19
End Sub
20
End Module