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

RSRP-287741: error CS0030: Cannot convert type 'System.Collections.Generic.IList' to 'T[]'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jan 13, 2012 5:50:45 AM
Updated Jan 16, 2012 4:11:48 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using System.Collections.Generic;

class A
{
    void Foo<S, T>(IList<S> x)
        where S : T
        where T : class
    {
        var y = (T[])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>