Current filter:
                                You should refresh the page.
                                  • [VB.NET]
                                    Public 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
                                • Alex B.G. (DevExpress) 12.13.2016

                                  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.

                                • Kevin O'Donovan 12.14.2016

                                  Yes, that makes sense.

                                  Cheers Alex

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: