bugDotGNU Portable.NET - Bugs: bug #5286, namespaces cannot contain word...

 
 

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

bug #5286: namespaces cannot contain word System

Submitter:  Michal Moskal <malekith>
Submitted:  Sun 14 Sep 2003 07:15:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 22 Sep 2003 12:26:07 PM UTC, comment #2: 

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.

Anonymous
Sun 14 Sep 2003 09:00:23 PM UTC, comment #1: 

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.

Rhys Weatherley <rweather>
Group administrator
Sun 14 Sep 2003 07:15:20 PM UTC, 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 {}


Michal Moskal <malekith>

 

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

No files currently attached

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-09-14 rweather StatusNone None
    Open/ClosedOpen None

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code