a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
293 B
C#
19 lines
293 B
C#
// CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible
|
|
// Line: 16
|
|
|
|
using System;
|
|
|
|
public class Test
|
|
{
|
|
private class A
|
|
{
|
|
public string B { get; private set; }
|
|
}
|
|
|
|
static void Main ()
|
|
{
|
|
A a = new A ();
|
|
a.B = "Foo";
|
|
}
|
|
}
|