[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1940-2.cs
blob70db3b69b894ad15536a70f5d0f84d11a0a01c78
1 // CS1940: Ambiguous implementation of the query pattern `Select' for source type `string[]'
2 // Line: 11
4 using System;
5 using System.Collections.Generic;
7 class Multiple
9 public static void Main ()
11 var q = from x in new [] { "a", "b", "c" } select x;
15 static class Y
17 public static IEnumerable<TResult> Select<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector)
19 return null;
23 static class X
25 public static IEnumerable<TResult> Select<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector)
27 return null;