Forgot this file
[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                         void *s = &f;
20                 }
21         }
22 }