<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0272</ErrorName>
  <Examples>
    <string>// CS0272: The property or indexer `C.this[string]' cannot be used in this context because the set accessor is inaccessible
// Line: 13

class C
{
	public int this [string i] { private set { } get { return 1; } }
}

public class Test
{
	void Foo ()
	{	C c = new C ();
		c [""] = 9;
	}
}
</string>
    <string>// CS0272: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
// Line: 19

class P
{
    public static int Prop
    {
	get {
	    return 4;
	}
	private set {}
    }
}

public class C
{
    public static void Main ()
    {
	P.Prop = 453422;
    }
}</string>
    <string>// CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible
// Line: 16

using System;

public class Test
{
	private class A
	{
		public string B { get; private set; }
	}
	
	static void Main ()
	{
		A a = new A ();
		a.B = "Foo";
	}
}
</string>
  </Examples>
</ErrorDocumentation>