Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-288272: Type 'DataGridViewRowCollection' is not enumerable

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Feb 13, 2012 1:41:34 PM
Updated Feb 13, 2012 7:10:12 PM
Priority Show-stopper
Type Bug
Fix versions Next
State Submitted
Assignee Olga Lobacheva (olka)
Subsystem No subsystem
Affected versions 6.1.1
Fixed in build No Fixed in build
I have the following code in VB.Net in Visual Studio 2010:

Public Class Form1

    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        For Each r In Me.DataGridView1.Rows

        Next
    End Sub
End Class


DataGridView1 is a DataGridView on the dialog.

And ReSharper 6.1 is now saying that there is an error on the for each loop. This did not occur in ReSharper 6.0. DataGridViewRowCollection is an implementation of IList, so I'm not sure why ReSharper wouldn't like it.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>