* MethodInfoTest.cs: Test for #409583.
svn path=/trunk/mcs/; revision=125410
+2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MethodInfoTest.cs: Test for #409583.
+
2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
* FieldInfoTest.cs: Test FieldInfo::GetValue on a constant of an open
{
out1 = null;
}
-
+
public void SignatureTest (__arglist)
{
}
+
+ public static unsafe int* PtrFunc (int* a)
+ {
+ return (int*) 0;
+ }
[Test] // bug #81538
public void InvokeThreadAbort ()
this.GetType ().GetMethod ("SignatureTest").ToString ());
}
+ [Test]
+ public void ToStringWithPointerSignatures () //bug #409583
+ {
+ Assert.AreEqual ("Int32* PtrFunc(Int32*)", this.GetType ().GetMethod ("PtrFunc").ToString ());
+ }
+
#if NET_2_0
[Test]
public void ToStringGenericMethod ()