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

RSRP-275126: False error: Cannot use conversion from 'System.Action' to 'System.Action' in this context

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 29, 2011 1:55:54 AM
Updated Nov 4, 2011 1:41:59 PM
Resolved Nov 4, 2011 1:41:59 PM
Priority Normal
Type Unspecified
Fix versions 6.1
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.1.0.11507
// Project A, .NET 3.5
using System;

public static class E
{
    public static void Foo(this Action<string> x)
    {
    }
}


// Project B, .NET 4.0
// Reference to the Project A
using System;

static class Program
{
    static void Main()
    {
        Action<object> x = null;
        x.Foo(); // 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>