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
mono_native_tls_get_value that does not change LastError. (#15568)
[mono-project.git]
/
mono
/
benchmark
/
isinst.cs
blob
7d5008147ea98d266d2e66d27d166b2d7921b046
1
using
System
;
2
3
public class
Test
{
4
5
public static int
Main
(
string
[]
args
) {
6
int
repeat
=
1
;
7
8
if
(
args
.
Length
==
1
)
9
repeat
=
Convert
.
ToInt32
(
args
[
0
]);
10
11
Console
.
WriteLine
(
"Repeat = "
+
repeat
);
12
13
object
a
=
new
Test
();
14
15
for
(
int
i
=
0
;
i
< (
repeat
*
5000
);
i
++)
16
for
(
int
j
=
0
;
j
<
100000
;
j
++)
17
if
(!(
a
is
Test
))
18
return
1
;
19
20
return
0
;
21
}
22
}
23
24