Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / test-659.cs
blob8b332998df1fc845626e3344b912139f0d77b00c
1 using System;
2 using System.Runtime.CompilerServices;
4 interface Iface
6 [IndexerName ("AA")]
7 bool this [int i] { set; }
10 public class MySubClass : Iface
12 public static int Main ()
14 MySubClass m = new MySubClass ();
15 m [1] = true;
17 Iface i = new MySubClass ();
18 i [1] = true;
19 return 0;
22 [IndexerName ("BB")]
23 public bool this [int i] { set { } }