Priority
Critical
Type
Bug 
State
Fixed 
Assignee
Dmitry Lomov 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
5.0.1612.107  
Build
815
Fixed in build
900
  • Submitted by   Vladimir Reshetnikov
    20 months ago (03 Jun 2008 17:22)
  • Updated by Vladimir Reshetnikov
    19 months ago (16 Jun 2008 20:41)
  • Jira: RSRP-70887
    (history, comments)

RSRP-70887

error CS0121: The call is ambiguous between the following methods or properties: 'A.Foo(int, object)' and 'A.Foo(object, string)'

0
using System;

class A
{
    static extern void Foo(int x, object y);
    static extern void Foo(object x, string y);
    static extern void Bar(Action<int, string> x);
    static void Main()
    {
        Bar(Foo);
    }
}


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments