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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
errors
/
cs0212.cs
blob
94d6f8f26ae1adea469b6c89a67ef4cf07926aa5
1
// CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer
2
// Line: 19
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
class
X
8
{
9
public int
x
;
10
public
X
()
11
{
12
this
.
x
=
4
;
13
}
14
15
public unsafe static void
Main
()
16
{
17
X x
=
new
X
();
18
int
*
p
= &
x
.
x
;
19
}
20
}