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

Submitted by:  Marcus Urban <mathpup>
Submitted on:  Sun 29 Aug 2004 02:34:35 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Duplicate of #9592

Gopal.V <t3rmin4t0r>
Project 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 25 Oct 2004 01:26:04 PM UTCt3rmin4t0rStatusNone=>Duplicate
  Open/ClosedOpen=>Closed
Sun 29 Aug 2004 02:34:36 AM UTCmathpupAttached File-=>Added array.cs, #1621

Back to the top


Powered by Savane 3.1-cleanup1