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-06-26 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0208-7.cs
blob
dee9012076b17c2e61bbd66223742aca21a26f85
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
}