Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs1501-2.cs
1 // CS1501: No overload for method `Select' takes `1' arguments
2 // Line: 17
3
4
5 using System;
6
7 class TestA
8 {
9         public string value;
10         
11         public TestA (string value)
12         {
13                 this.value = value;
14         }
15         
16         public string Select (int i, Func<TestA, TestA> f)
17         {
18                 return value;
19         }
20 }
21
22 public class M
23 {
24         static void Main ()
25         {
26                 var v = new TestA ("Oh yes");
27                 string foo = from a in v select a;
28         }
29 }