Bug 318700 (MONO75768) - [GMCS] Needs to be handle SpecialName pseudo-attribute
Summary: [GMCS] Needs to be handle SpecialName pseudo-attribute
Status: RESOLVED FIXED
Alias: MONO75768
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Raja R Harinath
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 16:38 UTC by Forgotten User vxPDddArjq
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:27:07 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".