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

Submitted by:  Radek Polak <radekp>
Submitted on:  Fri 17 Jun 2005 02:00:44 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>
Project 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>
Project Member

 

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

 

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
Sun 26 Jun 2005 03:57:11 PM UTCktreichelOpen/ClosedOpen=>Closed
Sun 26 Jun 2005 03:57:10 PM UTCktreichelStatusNone=>Fixed
Fri 17 Jun 2005 02:00:44 PM UTCradekpAttached File-=>Added Class1.cs, #2612

Back to the top


Powered by Savane 3.1-cleanup1