summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029.cs
blob: 413b4f5c9788f8d2dda023ce27d5a0d662032fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0029: Cannot implicitly convert type `X' to `bool'
// Line : 11

class X {
}

class T {
	static void Main ()
	{
		X x = new X ();
		if (x){
		}
	}
}