[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs0121-16.cs
blobe7cc5f394129f9773606962647c613d6f4fcd250
1 // CS0121: The call is ambiguous between the following methods or properties: `Foo<int,int>.Test(int)' and `Foo<int,int>.Test(int)'
2 // Line: 23
3 using System;
5 public class Foo<T,U>
7 public void Test (T index)
9 Console.WriteLine ("Test 1: {0}", index);
12 public void Test (U index)
14 Console.WriteLine ("Test 2: {0}", index);
18 class X
20 static void Main ()
22 Foo<int,int> foo = new Foo<int,int> ();
23 foo.Test (3);