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

RSRP-297915: False error: Method 'Foo' has 1 parameter(s) but is invoked with 0 argument(s)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 27, 2012 8:25:34 AM
Updated Apr 27, 2012 8:25:34 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
interface IA
{
    void Foo(int x = 1);
}

interface IB : IA
{
    new void Foo(int x);
}

class C
{
    public void Foo(IB x)
    {
        x.Foo();
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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