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
Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git]
/
mcs
/
errors
/
cs0214-5.cs
blob
3aee3df7e948293c0fe50613610d740439469eac
1
// CS0214: 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
}