summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0551-2.cs
blob: 7e49076bb56b6df7f6347f6874789c30e4127a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0551: Explicit interface implementation `PropertyClass.PropertyInterface.this[bool]' is missing accessor `PropertyInterface.this[bool].get'
// Line: 11

interface PropertyInterface
{
	int this [bool b] { get; set; }
}

public class PropertyClass: PropertyInterface
{
	int PropertyInterface.this [bool b] { 
		set { 
			return 0;
		} 
	}
}