Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0208-19.cs
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `CS208.Foo'
2 // Line: 17
3 // Compiler options: -unsafe
4
5 namespace CS208
6 {
7         public struct Foo
8         {
9                 public string PP { get; set; }
10         }
11
12         public class Bar
13         {
14                 unsafe static void Main ()
15                 {                       
16                         Foo f = new Foo ();
17                         void *s = &f;
18                 }
19         }
20 }