linux-packaging-mono/mcs/tests/gtest-etree-26.cs

31 lines
330 B
C#
Raw Normal View History

using System;
using System.Linq.Expressions;
class A<TA>
{
public class B<TB>
{
public static void foo ()
{
Expression<Action> func = () => foo ();
}
class C<TC>
{
static void bar ()
{
B<TC>.foo ();
}
}
}
}
class Program
{
public static int Main ()
{
A<int>.B<ulong>.foo ();
return 0;
}
}