Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

31 lines
484 B
C#

using System;
public class A {
public void DoStuff ()
{
Console.WriteLine ("stuff");
}
}
public struct B {
public bool Val {
get {
return false;
}
}
}
public class T : MarshalByRefObject {
internal static A a = new A ();
public static B b;
}
public class Driver {
public static void Main ()
{
T.a.DoStuff ();
bool b = T.b.Val;
}
}