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

RSRP-286976: False error: Type 'T' is not enumerable

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 17, 2011 1:08:37 AM
Updated Dec 17, 2011 1:08: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
abstract class B<S, U>
{
    public abstract void Foo<T>(T x) where T : S, U;
}

class C : B<string[], object[]>
{
    public override void Foo<T>(T x)
    {
        foreach (var y in x)
        {
        }
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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