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

RSRP-284868: error BC30685: 'Foo' is ambiguous across the inherited interfaces 'IA' and 'IB'.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 3, 2011 1:18:00 AM
Updated Dec 5, 2011 5:49:25 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 On
Imports System.Runtime.CompilerServices

Module M
    Sub Bar(ByVal x As IC)
        x.Foo(1) ' error BC30685: 'Foo' is ambiguous across the inherited interfaces 'IA' and 'IB'.
    End Sub
    <Extension>
    Sub Foo(x As IC, y As Integer)
    End Sub
End Module

Interface IA
    Sub Foo()
End Interface

Interface IB
    Sub Foo()
End Interface

Interface IC
    Inherits IA, IB
End Interface

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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