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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
gtest-455.cs
blob
18da8ef051d698924e57220dc54a09218904a627
1
using
System
;
2
3
namespace
ConsoleApplication1
4
{
5
class
Program
6
{
7
public 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
}