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

Submitted by:  Michal Moskal <malekith>
Submitted on:  Sun 14 Sep 2003 07:15:20 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned 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>
Project 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>

 

No files currently attached

 

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

Date Changed By Updated Field Previous Value => Replaced By
Sun 14 Sep 2003 09:00:23 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1