dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #5806] Alias for Namespace is not handled as in


From: Gopal.V
Subject: [Pnet-developers] [bugs #5806] Alias for Namespace is not handled as in MS .NET 1.0 or 1.1
Date: Mon, 19 Apr 2004 10:20:10 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

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

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

Changes by: 
                Gopal.V <address@hidden>
'Date: 
                Mon 04/19/04 at 14:19 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=5806>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Wed 10/08/03 at 13:50

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


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 



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


-------------------------------------------------------
Date: Mon 04/19/04 at 13:31         By: t3rmin4t0r
Fixed in CVS on 19th April 2004












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

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





reply via email to

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