History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-66785
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Oleg Stepanov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

VB: Use base type where possible does not split "Dim f As New Foo" declarations

Created: 29 Apr 08 18:10   Updated: 07 May 08 19:22
Component/s: Refactorings - Use Base Type Where Possible
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When I have code
Dim fb As FooBaz("")
fb.GetHashCode()

and invoke "use base type where possible" on class FooBaz to replace some of its usages with usages of Object, the code snippet above isn't changed. It should change it to:

Dim fb As Object
fb = New FooBaz("")
fb.GetHashCode()


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.