[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git] / mcs / errors / cs1644-2.cs
1 // CS1644: Feature `access modifiers on properties' cannot be used because it is not part of the C# 1.0 language specification
2 // Line: 13
3 // Compiler options: -langversion:ISO-1
4
5 class Class {
6
7         public int Count {
8
9                 get {
10                         return 0;
11                 }
12
13                 protected set {
14                 }
15         }
16 }