title: Unable to find an entry point named 'EventSetInformation' in DLL 'advapi32.dll'
body: <p>I was playing with my "Debug -> Options -> Debugging -> General -> Enable Just my code" checkbox </p>
  
  <p>When I check it everythng works fine but when I uncheck it I get the following:</p>
  
  <blockquote>
    <p>A first chance exception of type 'System.EntryPointNotFoundException'
    occurred in mscorlib.dll</p>
    
    <p>Additional information: Unable to find an entry point named
    'EventSetInformation' in DLL 'advapi32.dll'.</p>
  </blockquote>
  
  <p>Method: </p>
  
  <pre><code>public IEnumerable&lt;TEntity&gt; GetAll()
  {
      return Context.Set&lt;TEntity&gt;().ToList();
  }
  </code></pre>
  
  <p>I have no idea what it means, and anything I search on internet is based on some C++ projects - any ideas?</p>