Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0173.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3ed10e063323c1c68195033df2c0f10ddf6fa9a (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 `lambda expression' and `lambda expression'
// 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);
	}
}