dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #11432] Compiler confuses types and fields, but


From: James Michael DuPont
Subject: [Pnet-developers] [bugs #11432] Compiler confuses types and fields, but only if there is an attribute
Date: Fri, 31 Dec 2004 13:09:17 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #11432] Latest Modifications:

Changes by: 
                James Michael DuPont <address@hidden>
'Date: 
                Fri 12/31/2004 at 13:09 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
This error occurs when compiling mono
./class/System.XML/System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs

System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs:66: 
`SerializationFormat' is not declared as a type in the current scope







/**************************************************************************/
[bugs #11432] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11432>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Wed 12/29/2004 at 11:46

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  Compiler confuses types and fields, but only if there is an attribute

Original Submission:  // the compiler thinks this a BOOM::BOO is a type an a 
field. gets confused
namespace FOO
{
        public class Funky : Attribute
        {
                public Funky (object value)             {               }
        }
        public enum BOO { BAZ }

        public class BAM
        {
                [Funky (BOO.BAZ)]
                public BOO BOO2 = BOO.BAZ;

                [Funky (BOO.BAZ)]
                public BOO BOO3 = BOO.BAZ;
        }               

        public class BOOF
        {
                public BOO BOO2 = BOO.BAZ;
                public BOO BOO = BOO.BAZ;// same name -- no attribute

        }               
        public class BOOM
        {
                [Funky (BOO.BAZ)]
                public BOO BOO2 = BOO.BAZ;// different name // `BOO' is not 
declared as a type in the current scope
                [Funky (BOO.BAZ)]
                public BOO BOO = BOO.BAZ;// same name -- PROBLEM `BOO' is not 
declared as a type in the current scope

        }               
}

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 12/31/2004 at 13:09       By: James Michael DuPont <mdupont>
This error occurs when compiling mono
./class/System.XML/System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs

System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs:66: 
`SerializationFormat' is not declared as a type in the current scope













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11432>

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





reply via email to

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