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
2009-06-26 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0214-10.cs
blob
d666d219c18cdf3c602011e67d90f86121883683
1
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2
// Line: 12
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
class
X
{
8
public unsafe int
*
A { set { }
}
9
10
void
Foo
()
11
{
12
A
=
null
;
13
}
14
15
static void
Main
() {}
16
}