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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0214-2.cs
blob
89ad0a501e6146e5c24472f6adb8106c22283832
1
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2
// Line: 9
3
// Compiler options: -unsafe
4
5
public class
Test
6
{
7
public void
Foo
()
8
{
9
Foo
(
null
);
10
}
11
12
public static unsafe void
Foo
(
int
*
buf
)
{ }
13
}
14
15