summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0173-3.cs
blob: f75e2714536329311156370ab575081d33b07783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `anonymous method' and `anonymous method'
// Line: 11

using System;

class Test
{
	public static void Main ()
	{
		bool descending = false;
		Comparison<int> comp = descending ? ((e1, e2) => e2 < e1) : ((e1, e2) => e1 < e2);
	}
}