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

RSRP-191856: error BC30521: Overload resolution failed because no accessible 'Foo' is most specific for these arguments

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Oct 4, 2010 2:04:32 PM
Updated Dec 8, 2011 10:29:11 PM
Priority Critical
Type Bug
Fix versions Mirabile Futurum
State Open
Assignee Olga Lobacheva (olka)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Option Strict Off

Module M
    Sub Main()
        Dim x As C
        Foo(x)
    End Sub

    Sub Foo(ByVal x As String)
    End Sub
    Sub Foo(ByVal x As Integer)
    End Sub
End Module

Class C
    Shared Widening Operator CType(ByVal x As C) As String
    End Operator
    Shared Widening Operator CType(ByVal x As C) As Integer
    End Operator
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>