2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0208.cs
blob50b9e6f8ad44f401f7c0e78eba28b259888767e0
1 // cs0208.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
5 namespace cs208
7 public class Foo
9 public int Add (int a, int b)
11 return a + b;
15 public class Bar
17 unsafe static void Main ()
19 Foo f = new Foo ();
20 void *s = &f;