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

Key: RSRP-51819
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Andrey Simanovsky
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

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

CA::VB::CreateFromUsage: "Create Method" Kills Suggested Names As Executing the LiveTemplate

Created: 25 Oct 07 03:23   Updated: 14 Nov 07 15:21
Component/s: None
Fix Version/s: 4.0, 3.1
Security Level: Everybody (All jira users)

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


 Description  « Hide
Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function
End Class

Move is not declared, use the CA to create from usage.

Code suggested immediately, before walking the template:

Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function

	Public Sub Move(ByVal offset As Vector)
	End Sub
End Class

Yep, I like the name. But as I just TAB thru it, I get:

Public Class Status
    Implements ICloneable

	Dim myOffset As New Vector
	Public Function Clone() As Object Implements System.ICloneable.Clone
		Move(myOffset)
		Return Nothing
	End Function

	Public Sub Move(ByVal o As Vector)
	End Sub
End Class


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