Compiler Error CS1537
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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;
© 2016 Microsoft