Visual BasicPublic Class Test
Public WriteOnly Property AProperty As String
Set(value as string)
' some code
End Set
End Property
End Class
After executing the refactoring this becomes:
C#Public Class Test Public Property AProperty As String End Class
Hi Kevin,
I have reproduced the issue. Since the Visual Basic compiler says that an auto-implemented property can't be write-only (see the attached screenshot), we will disable the refactoring in this case.
Yes, that makes sense.
Cheers Alex