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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
gtest-117.cs
blob
71dc3b8cd3d9bdb0afa8de23b3580e065af5de89
1
using
System
;
2
3
public interface
IFoo
<
T
>
4
{ }
5
6
public class
Foo
<
T
>
7
{
8
public static bool
Test
(
T x
)
9
{
10
return
x
is
IFoo
<
T
>;
11
}
12
}
13
14
class
X
15
{
16
static void
Main
()
17
{
18
Foo
<
int
>.
Test
(
3
);
19
}
20
}