Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0208-17.cs
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'
2 // Line: 7
3 // Compiler options: -unsafe
4
5 unsafe class Foo<T> where T : struct
6 {
7         public T* Elements {
8                 get {
9                         return null;
10                 }
11         }
12 }