dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bug] cscc ignores using-alias declarations in class d


From: Bruno Haible
Subject: [Pnet-developers] [bug] cscc ignores using-alias declarations in class declarations
Date: Thu, 18 Dec 2003 15:44:07 +0100
User-agent: KMail/1.5

Using pnet-0.6.0.

============================= hello.cs ========================
using Console = System.Console;
using Assembly = System.Reflection.Assembly;
using ResourceManager = System.Resources.ResourceManager;
class Hello {
  static void Main() {
    Console.WriteLine(Assembly.GetExecutingAssembly());
  }
  class MyResourceManager : ResourceManager {
  }
}
===============================================================

$ cscc -o hello.exe hello.cs 
hello.cs:8: `ResourceManager' is not declared in the current scope
hello.cs:8: invalid base type

Apparently the identifier alias for ResourceManager is not recognized
in the base class position, although it is recognized in other places.



reply via email to

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