NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS0542

'user-defined type' : member names cannot be the same as their enclosing type

A name was used more than once in the same construct.

The following sample generates CS0542:

namespace x
{
   interface F
   {
      void F();   // CS0542, same name as the interface
   }
}