[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #5286] namespaces cannot contain word System
From: |
nobody |
Subject: |
[Pnet-developers] [bug #5286] namespaces cannot contain word System |
Date: |
Mon, 22 Sep 2003 08:26:10 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) |
=================== BUG #5286: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5286&group_id=353
Changes by: Anonymous user Date: Mon 09/22/03 at 08:26
------------------ Additional Follow-up Comments ----------------------------
With the Microsoft SDK you can use the following code:
using DotNet_System = System;
namespace X {
public class Core : DotNet_System.Object {
public static void Main() {}
}
}
namespace X.System.Y {}
this does not work with pnet.
=================== BUG #5286: FULL BUG SNAPSHOT ===================
Submitted by: malekith Project: DotGNU Portable.NET
Submitted on: Sun 09/14/03 at 15:15
Category: None Severity: 5 - Major
Bug Group: None Resolution: Invalid
Assigned to: None Status: Closed
Summary: namespaces cannot contain word System
Original Submission: Compiling following code with cscc gives:
x.cs:3: `Object' is not a member of the namespace `X.System'
x.cs:3: invalid base type
namespace X {
public class Core : System.Object {
public static void Main() {}
}
}
namespace X.System.Y {}
Follow-up Comments
*******************
-------------------------------------------------------
Date: Mon 09/22/03 at 08:26 By: None
With the Microsoft SDK you can use the following code:
using DotNet_System = System;
namespace X {
public class Core : DotNet_System.Object {
public static void Main() {}
}
}
namespace X.System.Y {}
this does not work with pnet.
-------------------------------------------------------
Date: Sun 09/14/03 at 17:00 By: rweather
Microsoft's compiler, csc, gives a similar error:
x.cs(2,29): error CS0234: The type or namespace name 'Object' does not exist in
the class or namespace 'X.System' (are you missing an assembly reference?)
Our behaviour is consistent.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5286&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/