a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
484 B
C#
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;
|
|
}
|
|
}
|