Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
403 B
C#

using System;
using System.Collections.Generic;
public class Tests
{
static void A<T>(IReadOnlyCollection<T> otherList)
{
}
static void B<T>(IReadOnlyList<T> otherList)
{
}
public static void Main ()
{
var ifacers = typeof(int[]).GetInterfaces ();
var args = new string [0];
A (args);
B (args);
IReadOnlyList<int> e1 = new int[0];
IReadOnlyCollection<int> e2 = new int[0];
}
}