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

RSRP-287426: False error: The type 'System.Func' must be convertible to 'System.Func' in order to use it as parameter 'T' in the generic method 'void Program.Foo()'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 28, 2011 2:44:37 AM
Updated Dec 28, 2011 2:44:37 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
using System;

class Program
{
    static void Foo<T, S>() where T : class, S
    {
       Foo<Func<T>, Func<S>>();
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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