[Mono-bugs] [Bug 78158][Min] New - MemberRef duplicate when
encoding MethodSpec
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Apr 21 11:59:57 EDT 2006
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=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: mono-bugs at ximian.com
+ReportedBy: mono at evain.net
+QAContact: mono-bugs at ximian.com
+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)
More information about the mono-bugs
mailing list