(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0117-3.cs
blobd7784d1536203b5c6aea190c08ea4fce9c40016e
1 // CS0117: `A' does not contain a definition for `Foo'.
2 // Line: 16
3 using System;
4 using System.Runtime.CompilerServices;
6 class A
8 [IndexerName ("Foo")]
9 public int this [int index] {
10 get { return index; }
11 set { ; }
14 static void Test (A a, int value)
16 a.Foo = value;
19 public static void Main ()
21 Test (new A (), 9);