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

RSRP-284863: [VB] False error: Unable to choose a more applicable candidate (extension methods and lambdas)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 2, 2011 11:59:55 PM
Updated Dec 5, 2011 5:49:02 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Option Strict Off
Imports System.Collections
Imports System.Runtime.CompilerServices
Namespace N

    Module M
        <Extension()>
        Sub Foo(this As String, x As Action(Of String))
        End Sub
        <Extension()>
        Sub Foo(this As IEnumerable, x As Action)
        End Sub

        Sub Main()
            Dim x As Object
            Call "".Foo(Sub() Return)
        End Sub
    End Module

End Namespace

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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