[Mono-bugs] [Bug 81208][Nor] Changed - MonoType.get_AssemblyQualifiedName crashes on pointer types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 27 17:55:56 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mono at evain.net.

http://bugzilla.ximian.com/show_bug.cgi?id=81208

--- shadow/81208	2007-03-27 15:40:36.000000000 -0500
+++ shadow/81208.tmp.30752	2007-03-27 16:55:56.000000000 -0500
@@ -55,6 +55,35 @@
 Call me idiot, I'll attach the full test case later.
 
 ------- Additional Comments From mono at evain.net  2007-03-27 15:40 -------
 Created an attachment (id=18961)
 Zip file containing all the assemblies necessary to run the tests
 
+
+------- Additional Comments From mono at evain.net  2007-03-27 16:55 -------
+Eventually, I managed to extract a simple test case that reproduces
+the issue:
+
+using System;
+using System.Reflection;
+
+
+
+unsafe class Test {
+	
+	public static void *_field;
+
+
+
+	static void Main ()
+
+	{
+		FieldInfo field = typeof (Test).GetField (
+			"_field", BindingFlags.Static | BindingFlags.Public);
+
+		Console.WriteLine (field.FieldType.AssemblyQualifiedName);
+
+	}
+
+}
+
+


More information about the mono-bugs mailing list