summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0184-5.cs
blob: 2462fbdfa3f72c3af962ea281b0d4b79d8538007 (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 (`byte') type
// Line: 13
// Compiler options: -warnaserror -warn:1

class S {}
	
class X
{
	static void Main ()
	{
		const S x = null;
		
		if (x is byte) {
		}
	}
}