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-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0214-2.cs
blob
22c81e95bd275b2f94a738b1b561a00330cd7931
1
// cs0214-2.cs: 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