When running a code cleanup in a Visual Basic project while having the "Make Properties Auto-Implemented" setting checked, any Readonly property with a backing store will be converted to an auto-implemented property, but missing the Readonly declaration.
Example:
Private _test As String
Public ReadOnly Property Test As String Get Return _test End Get End Property
Result from cleanup:
Public Property Test As String
Expected Result:
Public Readonly Property Test As String
Hi Brian,
Thank you for your report, I have reproduced the issue and passed this thread to our developers. Once they find an appropriate solution, you will be notified automatically.