linux-packaging-mono/mcs/tests/gtest-partial-03.cs

29 lines
333 B
C#
Raw Normal View History

using System.Collections.Generic;
class Variable
{
}
internal partial class Test<T>
{
}
internal partial class Test<T> where T : IList<Variable>
{
public Test (T t)
{
var val = t.Count;
}
}
internal partial class Test<T>
{
}
class CC
{
public static void Main ()
{
new Test<List<Variable>> (new List<Variable> ());
}
}