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

RSRP-294596: error CS1978: Cannot use an expression of type '__arglist' as an argument to a dynamically dispatched operation

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 15, 2012 1:41:09 AM
Updated Apr 15, 2012 1:41:09 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
class A
{
    void Foo(int x, __arglist)
    {
    }

    void Bar()
    {
        Foo((dynamic)1, __arglist()); // error CS1978: Cannot use an expression of type '__arglist' as an argument to a dynamically dispatched operation
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles