linux-packaging-mono/mcs/tests/gtest-exmethod-07.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
376 B
C#

using System.Collections.Generic;
interface IA
{
}
interface IB : IA
{
}
static class E
{
internal static void ToReadOnly<T>(this IEnumerable<T> source)
{
}
internal static void To (this IA i)
{
}
}
class C
{
public static void Main ()
{
}
public static void Test (IEnumerable<bool> bindings)
{
bindings.ToReadOnly();
IB ib = null;
ib.To ();
}
}