dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #13433] Attribute with argument of System.Type ca


From: Radek Polak
Subject: [Pnet-developers] [bug #13433] Attribute with argument of System.Type can not handle nested types
Date: Fri, 17 Jun 2005 14:00:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.6) Gecko/20050226 Firefox/1.0.1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13433>

                 Summary: Attribute with argument of System.Type can not
handle nested types
                 Project: DotGNU Portable.NET
            Submitted by: radekp
            Submitted on: Fri 06/17/2005 at 14:00
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

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





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 06/17/2005 at 14:00  Name: Class1.cs  Size: 597B   By: radekp
Test case
<http://savannah.gnu.org/bugs/download.php?item_id=13433&item_file_id=2612>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13433>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]