blob: 6bfda8a4dc05bc55b61a9ec8642f7efae129c609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS0184: The given expression is never of the provided (`bool') type
// Line: 13
// Compiler options: -warnaserror -warn:1
using System;
class X
{
void Foo ()
{
int? i = null;
if (i is bool) {
}
}
}
|