[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0117-2.cs
index 79df8d4ac1f9e34d0dace9273d16f4eb4e81a052..775ba25b34e87808b005dd496b401a3a39359788 100644 (file)
@@ -1,22 +1,17 @@
-// cs0117-2.cs: `A' does not contain a definition for `Foo'
+// CS0117: `Data' does not contain a definition for `Count'
 // Line: 15
+
+
 using System;
-using System.Runtime.CompilerServices;
 
-class A
+class Data
 {
-       [IndexerName ("Foo")]
-       public int this [int index] {
-               get { return index; }
-       }
-
-       static int Test (A a)
-       {
-               return a.Foo;
-       }
+}
 
-       public static void Main ()
+public class Test
+{
+       static void Main ()
        {
-               Test (new A ());
+               var c = new Data { Count = 10 };
        }
 }