[Mono-bugs] [Bug 64957][Wis] New - check_call_signature error when executing Soap Formatter
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 31 Aug 2004 13:01:23 -0400 (EDT)
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 tim@timcoleman.com.
http://bugzilla.ximian.com/show_bug.cgi?id=64957
--- shadow/64957 2004-08-31 13:01:23.000000000 -0400
+++ shadow/64957.tmp.751 2004-08-31 13:01:23.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 64957
+Product: Mono: Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Debian unstable
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: tim@timcoleman.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: check_call_signature error when executing Soap Formatter
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+I am getting the following error message when using the SoapFormatter to
+serialize a struct: "** ERROR **: unknown type 0x1e in check_call_signature".
+
+Source code:
+==>8================================================================
+using System;
+using System.IO;
+using System.Runtime.Serialization.Formatters.Soap;
+
+[Serializable]
+public struct DataObject
+{
+ public string Field1;
+}
+
+public class MainClass
+{
+ public static void Main ()
+ {
+ DataObject d;
+ d.Field1 = "Hello";
+
+ FileStream output = new FileStream ("dataObject.xml", FileMode.Create);
+ SoapFormatter formatter = new SoapFormatter ();
+ formatter.Serialize (output, d);
+ output.Close ();
+ }
+}
+
+==>8================================================================
+
+Compiled with
+mcs -r System.Runtime.Formatters.Serialization.Soap format.cs
+
+Actual Results:
+- "** ERROR **: unknown type 0x1e in check_call_signature"
+- No output to dataObject.xml.
+
+Expected Results:
+The DataObject struct to be serialized and written to dataObject.xml
+
+How often does this happen?
+Every time.
+
+Additional Information:
+lupus asked me to file a bug in the runtime.