title: No constructors defined
body: <p>I have some code base which has is calling the following:</p>
  
  <pre><code>SetHazardDataService();
  
  namespace Analytics.Foo.DataServices
  {
      class HDB:IDataService
      {
      }
  }
  </code></pre>
  
  <p>With a member function declared in another class/file</p>
  
  <pre><code>using Analytics.Foo.DataServices
  
  public void MyDataService()
  {
     var DbDataSvc = new HDB();
  }
  </code></pre>
  
  <p>originally, I see the same definition used elsewhere but with (no idea if that works):</p>
  
  <pre><code>protected void MyDataService()
  </code></pre>
  
  <p>I included the <code>public</code> method in my class</p>
  
  <p>I'm now trying to recreate that functionality, but I get the following issue:</p>
  
  <blockquote>
    <p>The type Analytics.Foo.DataServices.HDB' has no constructors defined</p>
  </blockquote>
  
  <p>I'm not sure what the issue is - any suggestions for why this is the case. There is no constructor that I can see. Plus I'm not able to see the other code working/but it doesn't give the same issue. </p>