[Mono-bugs] [Bug 55574][Wis] New - We do not emit HideBySig in many places
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 14 Mar 2004 17:52:29 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=55574
--- shadow/55574 2004-03-14 17:52:29.000000000 -0500
+++ shadow/55574.tmp.14966 2004-03-14 17:52:29.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 55574
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: We do not emit HideBySig in many places
+
+If you compile the following code on CSC:
+using System;
+using System.Reflection;
+
+public class Test {
+ public static void Main()
+ {
+ foreach (MethodInfo mb in typeof (Test).GetMethods ())
+ Console.WriteLine ("{0} -- {1}", mb, mb.Attributes);
+ }
+
+ public void A () {}
+ public void B () {}
+ public void C () {}
+}
+
+A, B and C will have HideBySig included in their method attributes. When
+compiled with mcs they do not.