avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs0117-2.cs
blob79df8d4ac1f9e34d0dace9273d16f4eb4e81a052
1 // cs0117-2.cs: `A' does not contain a definition for `Foo'
2 // Line: 15
3 using System;
4 using System.Runtime.CompilerServices;
6 class A
8 [IndexerName ("Foo")]
9 public int this [int index] {
10 get { return index; }
13 static int Test (A a)
15 return a.Foo;
18 public static void Main ()
20 Test (new A ());