[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0571-4.cs
1 // CS0571: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
2 // Line: 15
3
4 using System.Runtime.CompilerServices;
5
6 class MainClass {
7         [IndexerName ("AA")]
8         int this [int Value, bool Value2, string Value3] {
9                 get {
10                         return 1;
11                 }
12         }
13                 
14         public MainClass () {
15                 int i = get_AA (2, false, "aaa");
16         }
17 }