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
TaskAwaiter from CoreFX
[mono-project.git]
/
mcs
/
errors
/
cs1656-2.cs
blob
e729d508c64d4f07d322f684d61726307edd5791
1
// CS1656: Cannot assign to `p' because it is a `fixed variable'
2
// Line: 10
3
// Compiler options: -unsafe
4
5
unsafe class
X
{
6
7
static int
x
=
0
;
8
static void
Main
() {
9
fixed
(
int
*
p
= &
x
) {
10
p
= (
int
*)
22
;
11
}
12
}
13
}
14