Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1537

The using alias 'alias' appeared previously in this namespace

You defined a symbol twice as an alias for a namespace. A symbol can only be defined once.

The following sample generates CS1537:

// CS1537.cs
namespace x
{
   using System;
   using Object = System.Object;
   using Object = System.Object;   // CS1537, delete this line to resolve
   using System = System;
}
Show:
© 2014 Microsoft