Merge remote branch 'upstream/master'
[mono.git] / mcs / errors / cs0173-3.cs
1 // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `anonymous method' and `anonymous method'
2 // Line: 11
3
4 using System;
5
6 class Test
7 {
8         public static void Main ()
9         {
10                 bool descending = false;
11                 Comparison<int> comp = descending ? ((e1, e2) => e2 < e1) : ((e1, e2) => e1 < e2);
12         }
13 }