Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0272.cs
blob76b84928fc98f584aa8bee15bbcdba1db624c5de
1 // CS0272: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible
2 // Line: 19
4 class P
6 public static int Prop
8 get {
9 return 4;
11 private set {}
15 public class C
17 public static void Main ()
19 P.Prop = 453422;