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

gtest-104.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9d5d2a1b7975c590c17e7010e42cd50f96642ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class MainClass
{
        class Gen<T>
        {
		public void Test ()
		{ }
        }

        class Der : Gen<int>
        {
        }

        public static void Main ()
        {
		object o = new Der ();
                Gen<int> b = (Gen<int>) o;
		b.Test ();
        }
}