2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / gcs0184-4.cs
blob6bfda8a4dc05bc55b61a9ec8642f7efae129c609
1 // CS0184: The given expression is never of the provided (`bool') type
2 // Line: 13
3 // Compiler options: -warnaserror -warn:1
5 using System;
7 class X
9 void Foo ()
11 int? i = null;
13 if (i is bool) {