<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0571</ErrorName>
  <Examples>
    <string>// CS0571: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor
// Line: 8
using System;

public class EntryPoint {
        public static void Main () {
                Type type = typeof(string);
                Console.WriteLine (type.get_Name());
        }
}</string>
    <string>// CS0571: `Test.C0.foo.get': cannot explicitly call operator or accessor
// Line: 12
// Compiler options: -r:CS0571-3-lib.dll

// Testcase for bug #59980

using Test;

public class EntryPoint {
        public static int Main () {
		C1 foo = new C2 ();
                return foo.get_foo ();
        }
}

</string>
    <string>// CS0571: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
// Line: 15

using System.Runtime.CompilerServices;

class MainClass {
	[IndexerName ("AA")]
	int this [int Value, bool Value2, string Value3] {
		get {
			return 1;
		}
	}
		
	public MainClass () {
		int i = get_AA (2, false, "aaa");
	}
}
</string>
    <string>// CS0571: `C2.this[int].set': cannot explicitly call operator or accessor
// Line: 8
// Compiler options: -r:CS0571-5-lib.dll

class MainClass {
        public static void Main() {
                C2 c = new C2 ();
                c.set_Item(1, 2);
        }
}
</string>
    <string>// CS0571: `IFoo.this[int].get': cannot explicitly call operator or accessor
// Line: 11
// Compiler options: -r:CS0571-6-lib.dll

using System;

public class Test
{
	void TestMethod (IFoo i)
	{
		i.get_Jaj (1);
	}
}
</string>
    <string>// CS0571: `C.Prop.set': cannot explicitly call operator or accessor
// Line: 14

class C
{
	delegate void D (int i);

	static int Prop {
		set {}
	}
	
	public static void Main ()
	{
		D d = set_Prop;
	}
}
</string>
    <string>// CS0571: `MainClass.Value.get': cannot explicitly call operator or accessor
// Line: 12

class MainClass {
        static int Value {
                get {
                        return 1;
                }
        }
        
        public static void Main() {
                int value = get_Value();
        }
}
</string>
  </Examples>
</ErrorDocumentation>