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
Fix a bunch of data races.
[mono-project.git]
/
mono
/
benchmark
/
inline-readonly.cs
blob
df610eed406e77a8bc47352e66ed9292b1660b16
1
using
System
;
2
3
public class
A
{
4
5
static readonly
A a
=
new
A
();
6
7
static int
Main
()
8
{
9
for
(
int
i
=
0
;
i
<
500000000
;
i
++)
10
a
.
Dummy
();
11
12
return
0
;
13
}
14
15
public virtual void
Dummy
() {
16
}
17
}