[DevExpress Support Team: CLONED FROM T411203: Using custom plugins with the roslyn version]
I've just installed the September patch to VS2015 update 3, and code cleanup is no long converting the properties mentioned above to auto-implemented
So lets say you have a class like this one:[VB.NET]
Public Class CRTest Public Property ExemptionCertificate As String Get Throw New NotImplementedException() End Get Set(value As String) Throw New NotImplementedException() End Set End Property End Class
Convert to auto-implemented is enabled in code cleanup, but it doesn't do anything with the property in the above example. A regular property with a backing variable is correctly transformed. If I explicitly invoke the convert to auto implemented property refactoring on it then it does work, but since my prime use for this is to fix a bunch of properties created when implementing an interface, this would be a tedious way to handle it.
Also relevant, I suspect: If I add the single backed property I described above, and invoke the refactoring menu, I don't get the "all" variant of the refactoring. If add a second backed property and invoke the menu I *do* get the "all" variant. Looks like the NotImplementedException properties are now being excluded from whatever filter you are applying to detect if there are single or multiple candidate properties
Show all comments