bugDotGNU Portable.NET - Bugs: bug #13433, Attribute with argument of...

 
 

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

bug #13433: Attribute with argument of System.Type can not handle nested types

Submitter:  Radek Polak <radekp>
Submitted:  Fri 17 Jun 2005 02:00:44 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sun 26 Jun 2005 03:57:11 PM UTC, comment #2: 

Fixed in cvs 06/26/2005.

Klaus Treichel <ktreichel>
Group administrator
Fri 17 Jun 2005 03:24:42 PM UTC, comment #1: 

I've built the testcase with cscc and run a.exe with MS.
The result is A+Nested.

So this is a runtime and no compiler problem.

Klaus Treichel <ktreichel>
Group administrator
Fri 17 Jun 2005 02:00:44 PM UTC, original submission:  

This is how to reproduce the problem:

1) Define your own attribute that takes System.Type as parameter
2) Attach this attribute to any field and pass as an argument type of any nested class
3) Parameter that we passed in 2 is null after calling GetCustomAttributes.

I am attaching simple test case.

Desired output should be: A+Nested
Output on Portable .NET 0.7.0 is none, because we are printing null

Radek Polak <radekp>
Group Member

 

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

Attached Files
file #3104:  Class1.cs added by radekp (597B - text/plain - 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
2005-06-26 ktreichel Open/ClosedOpen Closed
2005-06-26 ktreichel StatusNone Fixed
2005-06-17 radekp Attached File- Added Class1.cs, #2612

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code