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
2005-06-27 Geoff Norton <gnorton@customerdna.com>
[mono-project.git]
/
mcs
/
errors
/
cs0208-7.cs
blob
1534b762c88c92e0e5a9edc73ae39082cbe79cb8
1
// cs0208-7.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type (`foo')
2
// Line: 11
3
// Compiler options: -unsafe
4
5
struct
foo
{
6
public delegate void
bar
(
int
x
);
7
public
bar barf
;
8
}
9
10
unsafe class
t
{
11
static void
Main
() {
12
foo
*
f
=
null
;
13
}
14
}