title: 'Class' does not contain a definition for 'Method'
body: <p>In class <code>Employee</code> I've got some methods, which work fine. Now I wanted to add new method, for example</p>
  
  <pre><code>public void ExampleMethod()
  {         
  }
  </code></pre>
  
  <p>Then I call it</p>
  
  <pre><code>Employee employee = new Employee();
  employee.ExampleMethod();
  </code></pre>
  
  <p>ExampleMethod is present in IntelliSense displayed after dot, when I hit F12 it also redirect me to that method, but while starting project I've got an error: 'Employee' does not contain a definition for 'ExampleMethod' and no extension method 'ExampleMethod' accepting a first argument of type 'Employee' could be found (are you missing a using directive or an assembly reference?)</p>
  
  <p>I don't know why this error is caused, because all other earlier methods work fine. What's the problem?</p>