|
|
|
|
@ -55,6 +55,33 @@ class Foo : Simple
@@ -55,6 +55,33 @@ class Foo : Simple
|
|
|
|
|
} |
|
|
|
|
#endregion
|
|
|
|
|
} |
|
|
|
|
");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[Test()] |
|
|
|
|
public void TestProtectedMembers() |
|
|
|
|
{ |
|
|
|
|
Test<ImplementAbstractMembersAction>(@"abstract class Simple {
|
|
|
|
|
protected abstract string ServiceName { get; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
class Foo : $Simple |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
", @"abstract class Simple { |
|
|
|
|
protected abstract string ServiceName { get; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
class Foo : Simple |
|
|
|
|
{ |
|
|
|
|
#region implemented abstract members of Simple
|
|
|
|
|
protected override string ServiceName { |
|
|
|
|
get { |
|
|
|
|
throw new System.NotImplementedException (); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endregion
|
|
|
|
|
} |
|
|
|
|
");
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|