a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
160 B
C#
17 lines
160 B
C#
// CS0118: `A.s' is a `field' but a `type' was expected
|
|
// Line: 11
|
|
|
|
class A
|
|
{
|
|
public string s;
|
|
}
|
|
|
|
class X : A
|
|
{
|
|
s MyProperty {
|
|
get {
|
|
return s;
|
|
}
|
|
}
|
|
}
|