'property' : property or indexer must have at least one accessor
A property must have at least one accessor (get or set) method.
The following sample generates CS0548:
namespace x { public class b { public int MyProp { // remove comments to resolve CS0548 /* get { return 0; } set { return 0; } */ } public static void Main() { } } }