projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
gtest-578.cs
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
}