Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-324.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 20dde5e44615efc9f18f4be7e631a7c0434eee22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
        }
}