summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-22.cs
blob: 7e979e2cc81a2dcde7de385f00ec431309802c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0266: Cannot implicitly convert type `bool?' to `bool'. An explicit conversion exists (are you missing a cast?)
// Line: 9

class X
{
	static void Main ()
	{
		bool? a = true;
		bool b = a & a;
	}
}