summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-198.cs
blob: aba370233cef30a6a89f99ace216f12578ad201e (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
// gtest-198.cs : bug #75957
using System;
using System.Collections.Generic;
using System.Text;

namespace ClassLibrary2
{
        public class List1<T> : List<T>
        { }

        public class List2<T>
        {
                private List1<T> _List = new List1<T>();
                public void AddItem(T item)
                {
                        _List.Add(item);
                }
        }

	class Foo
	{
		public static void Main () {}
	}
}