title: c# Phantom constructor error
body: <p>I changed the constructor of an object but it always says that the constructor don't take 6 arguments or when I add a string in where a object was in the constructor it still thinks that its the old constructor.</p>
  
  <pre><code>Unit kaka = new Unit(
     new Rectangle(0, 0, 0, 0), 
     new Vector2(0), 
     0f, 
     0, 
     "Unit", 
     "Worker",
     player.GetPlayerNumber.ToString());
  </code></pre>
  
  <p>new constructor</p>
  
  <pre><code>public Unit(
     Rectangle newRectangle, 
     Vector2 newPosition, 
     float newFloor, 
     int textureRectangleBlock, 
     string newTextureType, 
     string newType, 
     string newPlayer)
     : base(newRectangle, 
            newPosition, 
            newFloor, 
            textureRectangleBlock, 
            newTextureType)
  {
      unitClass = (Class)Enum.Parse(typeof(Class), newType);
      player = (Player.PlayerNumber)Enum.Parse(typeof(Player.PlayerNumber), newPlayer);
      stats = new Stats(100, 100, 10, 5, 5, 6, 0.5f, 1);
  }
  </code></pre>
  
  <p>old constructor</p>
  
  <pre><code>public Unit(
     Rectangle newRectangle, 
     Vector2 newPosition, 
     float newFloor, 
     int textureRectangleBlock, 
     string newTextureType, 
     string newType, 
     Player newPlayer)
     : base(newRectangle, 
            newPosition, 
            newFloor, 
            textureRectangleBlock, 
            newTextureType)
  {
      unitClass = (Class)Enum.Parse(typeof(Class), newType);
      player = newPlayer;
      stats = new Stats(100, 100, 10, 5, 5, 6, 0.5f, 1);
  }
  </code></pre>
  
  <p>And here is the error : </p>
  
  <pre><code>Error   6   Argument 7: cannot convert from 'string' to 'Engine.Player'
     C:\Users\Pokemon\Documents\Visual Studio 2010\
        Projects\BestGame\BestGame\BestGame\Game1.cs  93  
  101 Voidless
  </code></pre>
  
  <p>And if I change to the old constructor the problem vanish, is the files bad or something please help.</p>