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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
tests
/
gtest-lambda-27.cs
blob
08b0e2c469c003efb15e784e31f10b386b39d86c
1
using
System
;
2
3
class
MainClass
4
{
5
public static void
Main
()
6
{
7
Test1
(
l
=>
l
.
GetItems
());
8
Test2
(
l
=>
l
.
GetItems2
());
9
}
10
11
static
T
[]
Test1
<
T
> (
Func
<
IB
,
T
[]>
arg
)
12
{
13
return null
;
14
}
15
16
static
IA
<
T
>[]
Test2
<
T
> (
Func
<
IB
,
IA
<
T
>[]>
arg
)
17
{
18
return null
;
19
}
20
}
21
22
interface
IA
<
U
>
23
{
24
}
25
26
interface
IB
27
{
28
string
[]
GetItems
();
29
IA
<
string
>[]
GetItems2
();
30
}