[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1501-7.cs
blobc3691940efb1fa9c334f8b881560d374d36bb038
1 // CS1501: No overload for method `Select' takes `1' arguments
2 // Line: 17
5 using System;
7 class TestA
9 public string value;
11 public TestA (string value)
13 this.value = value;
16 public string Select (int i, Func<TestA, TestA> f)
18 return value;
22 public class M
24 static void Main ()
26 var v = new TestA ("Oh yes");
27 string foo = from a in v select a;