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

Key: RSRP-51579
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::ForeachToFor: Restore Missing Method Call Parens When Adding Array Index Parens

Created: 21 Oct 07 23:06   Updated: 23 Oct 07 15:33
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
For Each ch As Char In "voodoo".ToCharArray
Next

Convert For to Foreach:

For i As Integer = LBound("voodoo".ToCharArray) To UBound("voodoo".ToCharArray) Step 1
  Dim ch As Char = "voodoo".ToCharArray(i)
Next

Must be:

For i As Integer = LBound("voodoo".ToCharArray) To UBound("voodoo".ToCharArray) Step 1
  Dim ch As Char = "voodoo".ToCharArray()(i)
Next


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