[Mono-list] error CS246: Cannot find type `Alias'

Chris Daly cdaly@locosoft.org
Sun, 31 Mar 2002 23:04:08 -0800


Hi,

I'm getting the following error:

$ mcs Test.cs
./Test.cs(6) error CS246: Cannot find type `Alias'
Error: Compilation failed
RESULT: 1

with the test case below.  I've got the 0.10 bits posted a few days ago and 
I'm running on Linux (Mandrake 8.2).  The same code compiles fine with csc on 
windows.


// begin test file
using Alias = System.Type;
public class Test
{
  public Test()
  {
    Alias t = this.GetType();
    System.Console.WriteLine(t.FullName);
  }
}
// end test file