repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0420.cs
blob
764cb41ec7cba8c31a70c5927a4d515629909b50
1
// CS0420: `X.j': A volatile field references will not be treated as volatile
2
// Line: 10
3
// Compiler options: -unsafe /warnaserror /warn:1
4
5
unsafe class
X
{
6
static volatile int
j
;
7
8
static void
Main
()
9
{
10
fixed
(
int
*
p
= &
j
){
11
12
}
13
}
14
}