(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / gcs0452.cs
blobc210ba0efccceaf790ce9d635cd738ae3f08ad2c
1 // CS0452: The type `X' must be a reference type in order to use it as type
2 // parameter `T' in the generic type or method `MyObject<T>'.
3 // Line: 13
4 public class MyObject<T>
5 where T : class
6 { }
8 struct Foo
9 { }
11 class X
13 MyObject<Foo> foo;
15 static void Main ()
16 { }