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 [EMAIL PROTECTED]

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

--- shadow/78158        2006-04-21 11:59:56.000000000 -0400
+++ shadow/78158.tmp.13455      2006-04-21 11:59:56.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 78158
+Product: Mono: Runtime
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MemberRef duplicate when encoding MethodSpec
+
+Description of Problem:
+Using S.R.Emit, when we emit a MethodSpec, the don't cache the MemberRef of 
the declaring 
+method.
+
+Steps to reproduce the problem:
+1. Compile this code:
+
+class Foo<T> {
+
+       public T Bar<M> (M m, T t)
+       {
+               return t;
+       }
+}
+
+class Bar {
+
+       static void Main ()
+       {
+               Foo<int> fi = new Foo<int> ();
+               
+               fi.Bar<string> ("Coucou", 12);
+               fi.Bar<char> ('c', 12);
+       }
+}
+
+Actual Results:
+duplicate MemberRef: 
+3: TypeSpec[1] Bar
+        Resolved: class Foo`1<int32>.Bar
+        Signature: instance !0(!!0, !0)
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to