2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / gcs0184-2.cs
blob6c45e4ea59570801363640dc0b551ab8ffcb1a58
1 // CS0184: The given expression is never of the provided (`T') type
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
5 class X<T> where T : class
7 static void Foo ()
9 if (1 is T) {