2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0184-6.cs
blobbfb7781978d34498fa6daa236e33d70ec5443feb
1 // CS0184: The given expression is never of the provided (`Y') type
2 // Line: 10
3 // Compiler options: -warnaserror -warn:1
5 class Y
9 class X
11 public void Foo ()
13 X x = null;
14 if (x is Y) {