// cs0208.cs: Cannot take the address or size of a variable of a managed type ('cs208.Foo') // Line: 19 namespace cs208 { public class Foo { public int Add (int a, int b) { return a + b; } } public class Bar { unsafe static void Main () { Foo f = new Foo (); void *s = &f; } } }