[runtime] Coverage profiler fixes (#5698)
[mono.git] / mcs / errors / cs0184-6.cs
1 // CS0184: The given expression is never of the provided (`Y') type
2 // Line: 10
3 // Compiler options: -warnaserror -warn:1
4
5 class Y
6 {
7 }
8
9 class X
10 {
11         public void Foo ()
12         {
13                 X x = null;
14                 if (x is Y) {
15                 }
16         }
17 }