summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0184.cs
blob: f6bfca66ab837eef32e997be0f6ae95a07d4a441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0184: The given expression is never of the provided (`byte') type
// Line:
// Compiler options: -warnaserror -warn:1

class X {

	static void Main ()
	{
		int a = 1;
		
		if (a is byte){
		}
	}
}