* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-331.cs
bloba242223743f9e46c1cae92f79fc54364a2a18da8
1 using System;
3 public class Foo<T>
5 public void Map<S> (S value)
7 Foo<S> result = new Foo<S> ();
8 result.Test (value);
11 protected virtual void Test (T value)
13 Console.WriteLine (value);
18 class X
20 static void Main ()
22 Foo<double> a = new Foo<double> ();
23 a.Map<string> ("Hello World");