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

Key: RSRP-51577
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
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::IterateCollForeach: Not Available on some Strings

Created: 21 Oct 07 22:52   Updated: 09 Jun 08 23:01
Component/s: None
Fix Version/s: 3.1
Security Level: Everybody (All jira users)

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


 Description  « Hide
Public Class Data
    Sub Test()
        Dim Lines() As String = New String(10) {}
        For Each line As String In Lines
            line
        Next
    End Sub
End Class

The innermost {line} has no "iterate..." CA on it. Why?



 All   Comments   Work Log   Change History      Sort Order:
Andrey Simanovsky - 22 Oct 07 20:42
By design

Andrey Simanovsky - 22 Oct 07 20:44
Iterate collection is not suggested on strings by design.