Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Eugene Pasynkov 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
5.0.1612.107  
Build
816
Fixed in build
900
  • Submitted by   Vladimir Reshetnikov
    20 months ago (04 Jun 2008 17:19)
  • Updated by Vladimir Reshetnikov
    20 months ago (05 Jun 2008 16:18)
  • Jira: RSRP-71066
    (history, comments)

RSRP-71066

False error 'Cannot convert void to object'

0
using System;

class P
{
    static void Main()
    {
        Foo(x => x.X() as object);
    }

    static extern void Foo(Func<A, object> x);
    static extern void Foo(Func<B, object> x);

}

class A
{
    public Func<int> X { get; set; }
}

class B
{
    public extern void X();
}


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