a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
403 B
C#
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];
|
|
}
|
|
}
|