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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0420-2.cs
blob
d2ab81f5db2de1fa48ebba5e508b87e298b499bc
1
// CS0420: `XX.j': A volatile field references will not be treated as volatile
2
// Line: 14
3
// Compiler options: -unsafe /warnaserror /warn:1
4
5
unsafe class
XX
{
6
static volatile int
j
;
7
8
static void
X
(
ref int
a
)
9
{
10
}
11
12
static void
Main
()
13
{
14
X
(
ref
j
);
15
}
16
}