3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
13 lines
162 B
C#
13 lines
162 B
C#
// CS0200: Property or indexer `C.P' cannot be assigned to (it is read-only)
|
|
// Line: 10
|
|
|
|
class C
|
|
{
|
|
public int P { get; }
|
|
|
|
public void Foo ()
|
|
{
|
|
P = 10;
|
|
}
|
|
}
|