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

RSRP-279217: VB false red code

$
0
0
Reporter Robert Hencke (rhencke) Robert Hencke (rhencke)
Created Nov 8, 2011 9:52:57 PM
Updated Feb 28, 2012 8:46:13 PM
Priority Show-stopper
Type Bug
Fix versions No Fix versions
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Language - VB.NET
Affected versions 6.1
Fixed in build No Fixed in build
JetBrains ReSharper 6.1 EAP Full Edition Pre-Release
Build 6.1.0.11493 on 2011-11-04T17:52:08

Solution-wide analysis incorrectly reports an error.

Class C
    Implements IEnumerable(Of String)

    Sub S()
        Dim Skip As Boolean = False
        ' Skip shows "Incorrect number of arguments in reference to 'Public Function Enumerable.Skip(Of TSource)(IEnumerable(Of TSource), Integer) As IEnumerable(Of TSource)'"
        Dim x = Skip
    End Sub

    Public Function GetEnumerator() As System.Collections.Generic.IEnumerator(Of String) Implements System.Collections.Generic.IEnumerable(Of String).GetEnumerator
        Throw New Exception
    End Function

    Public Function GetEnumerator1() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
        Throw New Exception
    End Function
End Class

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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