[Mono-bugs] [Bug 41520][Wis] Changed - Fail to compiler constructors in attributes.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 28 Apr 2003 21:16:40 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=41520
--- shadow/41520 Thu Apr 17 19:21:11 2003
+++ shadow/41520.tmp.14946 Mon Apr 28 21:16:40 2003
@@ -1,14 +1,14 @@
Bug#: 41520
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -20,6 +20,29 @@
[ConversionMapEntry(new
Type[]{typeof(BitNot),typeof(BitNot_Link)},"simple")]
As found on the nmath package from sourcegear
+
+------- Additional Comments From miguel@ximian.com 2003-04-28 21:16 -------
+Full example:
+
+using System;
+using System.Reflection;
+
+[AttributeUsage (AttributeTargets.All)]
+public class MineAttribute : Attribute {
+ public MineAttribute (Type [] t)
+ {
+ }
+}
+
+
+[Mine(new Type [] { typeof(int), typeof (string)})]
+public class Foo {
+ public static int Main ()
+ {
+ return 0;
+ }
+}
+