Visual Basic allows for properties with mixed access levels, for example
Public Property Name() as String Get End Get Friend Set(ByVal value As String) End Set End Property
Is there a way to define a MustOverride property with mixed getter/setter access level?
Hmm… you can in C# very easily:
Unfortunately Reflector creates invalid VB when I decompile that…
EDIT: Having looked at a few bits of documentation, I suspect you can’t do this 🙁 The MustOverride documentation states:
That suggests to me that you can’t specify the different access levels 🙁