linux-packaging-mono/mcs/tests/gtest-238-lib.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
252 B
C#

// Compiler options: /t:library
using System;
public class Foo<T>
{
public int Test (int index)
{
Console.WriteLine ("Test 1: {0}", index);
return 1;
}
public int Test (T index)
{
Console.WriteLine ("Test 2: {0}", index);
return 2;
}
}