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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
cs0214-5.cs
blob
a9260d2d00d9396d6bdd23e017de2092a4dbcace
1
// cs0214-5.cs: Pointers and fixed size buffers may only be used in an unsafe context
2
// Line: 16
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
public class
Driver
8
{
9
public static unsafe byte
*
Frob
10
{
11
get
{ return (byte *) 0; }
12
}
13
14
public static void
Main
()
15
{
16
IntPtr q
= (
IntPtr
)
Frob
;
17
}
18
}