a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
290 B
C#
22 lines
290 B
C#
// CS0122: `A.prop' is inaccessible due to its protection level
|
|
// Line: 19
|
|
// Compiler options: -t:library
|
|
|
|
class A
|
|
{
|
|
int i;
|
|
|
|
int prop
|
|
{
|
|
set { i = value; }
|
|
}
|
|
}
|
|
|
|
class B : A
|
|
{
|
|
void M ()
|
|
{
|
|
prop = 2;
|
|
}
|
|
}
|