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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
errors
/
cs0214-2.cs
blob
c175e61967b7c287ab555079610dd6ba4b3a3920
1
// cs0214: pointers can only be used in an unsafe context
2
// Line: 9
3
// This error shows how cs214 is produced at the *call site*
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