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

RSRP-283022: [VB] False error: Unable to choose a more applicable candidate

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Nov 24, 2011 5:07:31 AM
Updated Nov 25, 2011 5:56:26 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Olga Lobacheva (olka)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Imports System
Imports System.Runtime.CompilerServices

Module M
  <Extension()>
  Function Foo(x As Integer, f As Func(Of Integer, Integer))
    Console.WriteLine(1)
  End Function

  <Extension()>
  Function Foo(Of T)(x As T, f As Converter(Of Integer, Integer))
    Console.WriteLine(2)
  End Function

  Sub Main()
    Dim y = 1.Foo(Function(x) x)
  End Sub
End Module

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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