projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git]
/
mcs
/
errors
/
cs0208.cs
1
// cs0208.cs: Cannot take the address or size of a variable of a managed type ('cs208.Foo')
2
// Line: 19
3
4
namespace cs208
5
{
6
public class Foo
7
{
8
public int Add (int a, int b)
9
{
10
return a + b;
11
}
12
}
13
14
public class Bar
15
{
16
unsafe static void Main ()
17
{
18
Foo f = new Foo ();
19
Foo *s = &f;
20
}
21
}
22
}