repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cosmetic
[mcs.git]
/
tests
/
gtest-455.cs
blob
598505ce046932ff8a15b3da1a39d58cbbd9f0aa
1
using
System
;
2
3
namespace
ConsoleApplication1
4
{
5
class
Program
6
{
7
static void
Main
()
8
{
9
object
o
=
new object
();
10
Inner
<
object
>.
Compare
(
o
,
o
);
11
}
12
}
13
14
public class
Inner
<
T
>
where T
:
class
15
{
16
public static void
Compare
(
object
obj
,
T
value
)
17
{
18
if
(
obj
!=
value
)
{ }
19
}
20
}
21
}