2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0030.cs
blob99ca9da44b5f4dd8725c52971dc09db0f49faf37
1 // CS0030: Cannot convert type `T' to `X'
2 // Line: 8
3 class Foo<T>
4 where T : System.ICloneable
6 public X Test (T t)
8 return (X) t;
12 class X
14 static void Main ()
15 { }