At times I know I need a readonly property but don't have an implementation yet so I'll create it as below - throws an exception so when the calling code gets written I'll know that I have not finished this function.
Visual BasicPublic ReadOnly Property UnderDevelopment As Boolean
Get
Throw New NotImplementedException
End Get
End Property
The Make properties auto-implemented rule incorrectly collapses this property and removes the ReadOnly and removes the exception.
Visual BasicPublic Property UnderDevelopment As Boolean
Hi John,
I agree that the refactoring shouldn't be available for properties that are not implemented yet. We will change this behavior in future versions.