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
2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0208-2.cs
blob
4555a044f09e86c67bdd852e6af1963adec5d375
1
// cs0208-2.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `cs208.Foo'
2
// Line: 20
3
// Compiler options: -unsafe
4
5
namespace
cs208
6
{
7
public class
Foo
8
{
9
}
10
11
public class
Bar
12
{
13
unsafe static void
Main
()
14
{
15
Foo f
=
new
Foo
();
16
Foo
*
s
= &
f
;
17
}
18
}
19
}