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-507.cs
blob
ab88846411c8340cd29f497fbd8991e5ce8fb170
1
class
A
2
{
3
public static int
Main
()
4
{
5
if
(
new
B
<
object
> () [
4
] !=
2
)
6
return
1
;
7
8
return
0
;
9
}
10
}
11
12
public class
B
<
T
> {
13
public int this
[
T key
] {
14
get
{ return 1; }
15
}
16
17
public int this
[
object
key
] {
18
get
{ return 2; }
19
}
20
}
21