[Mono-bugs] [Bug 38422][Min] New - TypeBuilder doesn't attach attributes

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 20 Feb 2003 16:06:14 -0500 (EST)

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 crichton@gimp.org.


--- shadow/38422	Thu Feb 20 16:06:14 2003
+++ shadow/38422.tmp.21649	Thu Feb 20 16:06:14 2003
@@ -0,0 +1,43 @@
+Bug#: 38422
+Product: Mono/Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: crichton@gimp.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: TypeBuilder doesn't attach attributes
+Seems like there might be a bug in the TypeBuilder w.r.t. attributes.
+I've been trying to use the XML-RPC.NET assembly at
+http://www.cookcomputing.com/xmlrpc/ to do some xmlrpc.  However, it seems
+like we get stuck with attributes.
+The code sets up an interface like:
+interface IStateName
+  [XmlRpcMethod("examples.getStateName")]
+  string GetStateName(int stateNumber);
+and we use the interface:
+IStateName betty
+        = (IStateName)XmlRpcProxyGen.Create(typeof(IStateName));
+Now, the xml-rpc code expects the URL to be attached to an attribute. 
+However, this appears to not be happening.
+I wish I had a simple test case, but I'm not proficient with the Reflection
+API.  I do have simple sample code for the xml-rpc.net code however upon