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
/
cs0214-8.cs
blob
ac2785225412e4c4e4fcf226422fbd8fecbe4625
1
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2
// Line: 17
3
// Compiler options: -unsafe
4
5
public unsafe delegate void
Bar
(
int
*
x
);
6
7
class
X
8
{
9
public
X
(
Bar bar
)
10
{ }
11
12
unsafe static void
Test
(
int
*
b
)
13
{ }
14
15
static void
Main
()
16
{
17
X x
=
new
X
(
Test
);
18
}
19
}