+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
public int Test (int i)
{
- return i;
+ return i + 500;
}
int INested.Test (int a, int b)
public int Test (int i)
{
- return i;
+ return i + 500;
}
int INested.Test (int a, int b)
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),
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),