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
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
gtest-578.cs
blob
39d29dcd22d5a76a670b85a15c28557f34506d5e
1
using
System
;
2
3
public interface
I
<
T
>
4
{
5
}
6
7
public class
X
:
I
<
int
>
8
{
9
public static
I
<
TR
>
Test
<
T
,
TR
> (
I
<
T
>
source
,
Func
<
I
<
T
>,
TR
>
selector
)
10
{
11
return null
;
12
}
13
14
public static
U First
<
U
> (
I
<
U
>
source
)
15
{
16
return default
(
U
);
17
}
18
19
public static void
Main
()
20
{
21
I
<
int
>
xs
=
new
X
();
22
var
left
=
Test
(
xs
,
First
);
23
}
24
}