2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0571-4.cs
blobc7af4506c719fb26fc28e315964d97b85e426beb
1 // cs0571-4.cs: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
2 // Line: 15
4 using System.Runtime.CompilerServices;
6 class MainClass {
7 [IndexerName ("AA")]
8 int this [int Value, bool Value2, string Value3] {
9 get {
10 return 1;
14 public MainClass () {
15 int i = get_AA (2, false, "aaa");