summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0551.cs
blob: 036d2e35e29e44c4d0c63a6a65f680f53e2d1127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0551: Explicit interface implementation `PropertyClass.PropertyInterface.Value' is missing accessor `PropertyInterface.Value.set'
// Line: 9

interface PropertyInterface {
        int Value { get; set; }
}

public class PropertyClass: PropertyInterface {
        int PropertyInterface.Value { 
                get { 
                        return 0;
                } 
        }
}