C# compiler interprets static class as a namespace
===

I have a really weird problem. I tried everything to fix it and so far nothing works.

As you can see in the first image image, when I try to reference the static class "SharedConstants" from a namespace outside "UnnamedGameServer" the compiler returns the following error:

> The type or namespace name 'ServerInfo' does not exist in the
> namespace 'SharedConstants'

I found a turnaround to this problem referencing this class using UnnamedGameServer.SharedConstants instead of SharedConstants and using UnnamedGameServer; on the top of the .cs file. But I prefer avoiding referencing it on every line I use that class.

Here are some screenshots of my code:

First screenshot:

![Bug in Visual Studio][1]

Second screenshot:

![Bug in Visual Studio][2]

  [1]: http://i.stack.imgur.com/Bh6ui.png
  [2]: http://i.stack.imgur.com/xxxuh.png