* GenericTest.cs: differentiate between "Test(int)" and
"Test<int>(int)" to prove that the correct method is invoked.
svn path=/trunk/mcs/; revision=134649
+2009-05-24 Robert Jordan <robertj@gmx.net>
+
+ * GenericTest.cs: differentiate between "Test(int)" and
+ "Test<int>(int)" to prove that the correct method is invoked.
+
2009-05-24 Robert Jordan <robertj@gmx.net>
* GenericTest.cs (TestCrossAppDomainChannel): disable on MS.NET as
2009-05-24 Robert Jordan <robertj@gmx.net>
* GenericTest.cs (TestCrossAppDomainChannel): disable on MS.NET as
public int Test (int i)
{
public int Test (int i)
{
}
int INested.Test (int a, int b)
}
int INested.Test (int a, int b)
public int Test (int i)
{
public int Test (int i)
{
}
int INested.Test (int a, int b)
}
int INested.Test (int a, int b)
Assert.AreEqual (42, cao.Test (),
"#5a calling INested.Test ()");
Assert.AreEqual (42, cao.Test (),
"#5a calling INested.Test ()");
- Assert.AreEqual (42, cao.Test (42),
+ Assert.AreEqual (42 + 500, cao.Test (42),
"#5 calling INested.Test (int)");
Assert.AreEqual (42, cao.Test (21, 21),
"#5 calling INested.Test (int)");
Assert.AreEqual (42, cao.Test (21, 21),
Assert.AreEqual (42, cao.Test (),
"#9a calling INested.Test ()");
Assert.AreEqual (42, cao.Test (),
"#9a calling INested.Test ()");
- Assert.AreEqual (42, cao.Test (42),
+ Assert.AreEqual (42 + 500, cao.Test (42),
"#9 calling INested.Test (int)");
Assert.AreEqual (42, cao.Test (21, 21),
"#9 calling INested.Test (int)");
Assert.AreEqual (42, cao.Test (21, 21),