Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0200-6.cs
1 // CS0200: Property or indexer `C.P' cannot be assigned to (it is read-only)
2 // Line: 10
3
4 class C
5 {
6         public int P { get; }
7
8         public void Foo ()
9         {
10                 P = 10;
11         }
12 }