[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #5806] Alias for Namespace is not handled as in M
From: |
nobody |
Subject: |
[Pnet-developers] [bug #5806] Alias for Namespace is not handled as in MS .NET 1.0 or 1.1 |
Date: |
Wed, 08 Oct 2003 09:50:16 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) |
=================== BUG #5806: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5806&group_id=353
Submitted by: ktreichel Project: DotGNU Portable.NET
Submitted on: Wed 10/08/03 at 13:50
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: Alias for Namespace is not handled as in MS .NET 1.0 or 1.1
Original Submission: It is not possible to use a namespace alias to overwrite
the main namespace. That is needed if a namespace with the same name exists in
the current or an other imported assambly.
Example:
using DotNet_System = System;
namespace TestCompile.System
{
class TestClass : DotNet_System.Object
{
static void Main(string[] args)
{
}
}
}
with pnet cscc the following errors occure:
Class1.cs:5: `DotNet_System' is not declared in the current scope
Class1.cs:6: invalid left operand to `.'
Class1.cs:6: invalid base type
With MS csc this example compiles without errors
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5806&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bug #5806] Alias for Namespace is not handled as in MS .NET 1.0 or 1.1,
nobody <=