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
[amd64] Remove the callee saved registers from MonoLMF, save/restore them normally...
[mono-project.git]
/
mono
/
benchmark
/
contextbound-perf.cs
blob
848ee52e57442c0e515a8f8588db8f5de9fafe6c
1
using
System
;
2
using
System
.
Collections
;
3
using
System
.
Runtime
.
Remoting
;
4
5
public class
Bar
:
System
.
ContextBoundObject
{
6
}
7
8
public class
Driver
{
9
public static void
Main
(
string
[]
args
) {
10
Bar b
=
new
Bar
();
11
12
for
(
int
i
=
0
;
i
!=
30000000
;
i
++)
13
if
(!
b
.
Equals
(
b
))
14
Console
.
WriteLine
(
"error!!"
);
15
}
16
}
17