Bugzilla – Bug 318700
[GMCS] Needs to be handle SpecialName pseudo-attribute
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by vargaz@gmail.com 2005-08-10 09:38:25 MST ---- Net 2.0 has a new pseudo custom attribute called SpecialName. When specified on an class/method, it adds the TypeAttributes.SpecialName or MethodAttributes.SpecialName attribute to the attributes of the class/method. Testcase: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< using System; using System.Runtime.CompilerServices; public class Tests { [SpecialName] public static void foo () { } public static void Main () { } } <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ---- Additional Comments From miguel@ximian.com 2005-09-05 12:24:22 MST ---- This attribute applies to: AttributeTargets.Class, AttributeTargets.Struct, AttributeTargets.Method, AttributeTargets.Property, AttributeTargets.Field and AttributeTargets.Event ---- Additional Comments From lupus@ximian.com 2005-09-05 12:42:55 MST ---- Fixed in svn (pseudo attributes are usually handled by re.emit). Unknown operating system unknown. Setting to default OS "Other".