R# 3.0 RC2 Optimize imports VB.NET
I have code (Resources is class):
==============
Imports ScreenSaver2.My.Resources
Public Class Class1
Public Sub Test()
Dim str1 As String = String1
Dim str2 As String = SR_Class1_Test_1234
Dim str3 As String = SR_Class1_Test_1234
End Sub
End Class
===========
After optimize:
Public Class Class1
Public Sub Test()
Dim str1 As String = String1
Dim str2 As String = SR_Class1_Test_1234
Dim str3 As String = SR_Class1_Test_1234
End Sub
End Class
Please sign in to leave a comment.
What is wrong?
Please could you provide the complete sample.
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexander Nesterenko" <framework3705@mail.ru> wrote in message
news:57490f0993f68c98241c36ef785@news.jetbrains.com...
>I have code (Resources is class):
>
>
>
>
>
Code is break, line with import directive is absent.
In Final Release bug still present.
Without complete sample, it is not clear why this import is necesarry
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexander Nesterenko" <framework3705@mail.ru> wrote in message
news:57490f0994988c982bbb7b9b510@news.jetbrains.com...
>> What is wrong?
>
Complete sample is attached. Open code for Form1 and call "Optimize imports".
Sorry, it's attachment.
Attachment not added (general error): "WindowsApplication1.zip"
The problem was successfully reproduced.
Will be fixed in 3.0.2
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexander Nesterenko" <framework3705@mail.ru> wrote in message
news:57490f0994e88c982eafe81e91b@news.jetbrains.com...
Sorry, it's attachment.