<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0154</ErrorName>
  <Examples>
    <string>// cs0154-2.cs: The property or indexer `B.Foo' cannot be used in this context because it lacks the `get' accessor
// Line: 13
// this is bug 55780.

class A {
	public int Foo { get { return 1; } }
}

class B : A {
	public new int Foo { set { } }
	static void Main ()
	{
		System.Console.WriteLine (new B ().Foo);
	}
}</string>
    <string>// CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks a `get' accessor
// Line: 13

class Test
{
	public int this[bool b] { set {} }
}

class C
{
	public static void Main ()
	{
		int i = new Test()[false];
	}
}
</string>
    <string>// cs0154.cs: The property or indexer `A.name' cannot be used in this context because it lacks the `get' accessor
// Line: 21

public class A
{
	public string name 
	{
		set
		{
			name = value;
		}
	}
}

public class B
{
	public static void Main ()
	{
		A a = new A ();
		string b = a.name;
	}
}
			
</string>
  </Examples>
</ErrorDocumentation>