projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
tests
/
gtest-535.cs
1
class G<T> where T : class
2
{
3
}
4
5
class A
6
{
7
static int Foo<T> (T a, G<T> y) where T : class
8
{
9
return 1;
10
}
11
12
static int Foo<T> (T a, object y)
13
{
14
return 2;
15
}
16
17
public static int Main ()
18
{
19
if (A.Foo<int> (99, null) != 2)
20
return 1;
21
22
if (A.Foo (66, null) != 2)
23
return 2;
24
25
return 0;
26
}
27
}