2009-12-09 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-254.cs
blob0a78b9bc97d6770e0e7f4377514d8b985c8d4bb3
1 using System;
3 public class HashedLinkedList<T>
5 public int? Offset;
7 public static HashedLinkedList<T> GetList ()
9 return new HashedLinkedList<T> ();
12 public static void Test (int added)
14 GetList ().Offset += added;
17 public void Test (HashedLinkedList<T> view)
19 view.Offset--;
23 class X
25 static void Main ()
27 HashedLinkedList<int>.Test (5);
28 HashedLinkedList<long> list = new HashedLinkedList<long> ();
29 list.Test (list);