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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-934.cs
blob
62b300d60547f6c04fe61ac961a6fe4bc7107343
1
class
X
2
{
3
public static int
Main
()
4
{
5
var
a
=
new byte
[]
{ }
;
6
var
b
=
new byte
[]
{ }
;
7
if
(
a
.
Equals
(
b
))
8
return
1
;
9
10
if
(
ReferenceEquals
(
a
,
b
))
11
return
2
;
12
13
a
=
new byte
[
0
];
14
b
=
new byte
[
0
];
15
if
(
a
.
Equals
(
b
))
16
return
3
;
17
18
if
(
ReferenceEquals
(
a
,
b
))
19
return
4
;
20
21
return
0
;
22
}
23
}