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
Move MonoError from managed wrappers to native wrappers. (#15894)
[mono-project.git]
/
mcs
/
tests
/
gtest-535.cs
blob
9a35120dc414ca5bca7bd5ac8ffcd01809e6f7fa
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
}