New tests.
[mono.git] / mcs / errors / cs0551-2.cs
1 // CS0551: Explicit interface implementation `PropertyClass.PropertyInterface.this[bool]' is missing accessor `PropertyInterface.this[bool].get'\r
2 // Line: 11\r
3 \r
4 interface PropertyInterface\r
5 {\r
6         int this [bool b] { get; set; }\r
7 }\r
8 \r
9 public class PropertyClass: PropertyInterface\r
10 {\r
11         int PropertyInterface.this [bool b] { \r
12                 set { \r
13                         return 0;\r
14                 } \r
15         }\r
16 }\r
17 \r