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

RSRP-185540: False error: Constructor 'IA' has 0 parameter(s) but is invoked with 1 argument(s)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jul 6, 2010 3:54:32 PM
Updated Apr 14, 2012 3:55:19 AM
Priority Major
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
using System.Runtime.InteropServices;

[ComImport]
[Guid("69D3E2A0-BB0F-4FE3-9860-ED714C510756")]
[CoClass(typeof(A))]
public interface IA { }

public class A : IA
{
    public A(int x)
    {
        
    }

    static void Main()
    {
        new IA(1); // here
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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