[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / gtest-439.cs
1 using System;
2
3 namespace MonoBug
4 {
5         public static class Stuff
6         {
7                 public static GenericStuff<T1, T2> CreateThing<T1, T2> (T1 firstValue, T2 secondValue)
8                 {
9                         return new GenericStuff<T1, T2> (firstValue, secondValue);
10                 }
11         }
12
13         public class GenericStuff<T1, T2>
14         {
15                 public readonly T1 FirstValue;
16                 public readonly T2 SecondValue;
17
18                 public GenericStuff (T1 firstValue, T2 secondValue)
19                 {
20                         FirstValue = firstValue;
21                         SecondValue = secondValue;
22                 }
23         }
24
25         public static class Program
26         {
27                 public static void Main ()
28                 {
29                         var thing = Stuff.CreateThing (default (string), "abc");
30                         Console.WriteLine (thing.FirstValue);
31                         Console.WriteLine (thing.SecondValue);
32                 }
33         }
34 }