linux-packaging-mono/mcs/tests/dtest-anontype-01.cs

21 lines
187 B
C#
Raw Normal View History

class C
{
public static void Main ()
{
var a = new {
Field = Factory ()
};
a.Field.Test ();
}
void Test ()
{
}
static dynamic Factory ()
{
return new C ();
}
}