a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
311 B
C#
24 lines
311 B
C#
using System;
|
|
|
|
namespace ProtectedSetter
|
|
{
|
|
public abstract class BaseClass
|
|
{
|
|
public abstract string Name { get; internal set;}
|
|
}
|
|
|
|
public class DerivedClass : BaseClass
|
|
{
|
|
|
|
public override String Name
|
|
{
|
|
get {
|
|
return null;
|
|
}
|
|
internal set {
|
|
}
|
|
}
|
|
|
|
public static void Main () {}
|
|
}
|
|
} |