bugDotGNU Portable.NET - Bugs: bug #10201, cscc does not permit custom...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10201: cscc does not permit custom attributes with array parameters

Submitter:  Marcus Urban <mathpup>
Submitted:  Sun 29 Aug 2004 02:34:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 25 Oct 2004 01:26:04 PM UTC, comment #1: 

Duplicate of #9592

Gopal.V <t3rmin4t0r>
Group administrator
Sun 29 Aug 2004 02:34:35 AM UTC, original submission:  

Custom attributes should be permitted to contain arrays of simple types, strings, or types, but cscc does not permit arrays in the attribute use, such as

[NewAttribute(5, new char[] {'x', 'y'})]

Instead, cscc complains

array.cs:13: constant value required

See the attached test case.

Marcus Urban <mathpup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #1692:  array.cs added by mathpup (208B - text/x-csharp - Test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-25 t3rmin4t0r StatusNone Duplicate
    Open/ClosedOpen Closed
2004-08-29 mathpup Attached File- Added array.cs, #1621

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code