title: DryIoc and UseInstance leads to "Expecting the instance to be stored in singleton scope" exception
body: <p>When I try to obtain instance of object, which depends on parameter registered by UseInstance, I get </p>
  
  <blockquote>
    <p>DryIoc.ContainerException : Expecting the instance to be stored in singleton scope, but unable to find anything here.
    Likely, you've called UseInstance from the scoped container, but resolving from another container or injecting into a singleton.</p>
  </blockquote>
  
  <p>Using xUnit:</p>
  
  <pre><code>    public interface IFooDao { }
      public class FooDao : IFooDao
      {
          public FooDao(ConnectionStringSettings connString) { }
      }
      [Fact]
      void CompositionRootWontThrowException()
      {
          var container = new Container();
          container.Register&lt;IFooDao, FooDao&gt;(Reuse.Singleton);
  
          ConnectionStringSettings connString = ConfigurationManager.ConnectionStrings["ConnectionString"];
          container.UseInstance(connString);
          IFooDao dao = container.Resolve&lt;IFooDao&gt;();
      }
  </code></pre>
  
  <p>So I have this exception message, but I can't find problem and solution with it:</p>
  
  <p>1) I don't have scoped container, because I didn't create it by <code>container.OpenScope()</code>, right? I have just one container so I can't be resolving from a wrong one. And it's a container </p>
  
  <blockquote>
    <p>without context (which is default)</p>
  </blockquote>
  
  <p>as per <a href="https://bitbucket.org/dadhi/dryioc/wiki/ReuseAndScopes#markdown-header-what-current-scope-is" rel="nofollow noreferrer">project wiki</a></p>
  
  <p>2) So, what does it mean I'm "injecting into a singleton"? I'd like to inject dependency into singleton while creating it - what's wrong with that? Am I doing it anyway?</p>
  
  <p>3) As per <a href="https://bitbucket.org/dadhi/dryioc/wiki/RegisterResolve#markdown-header-registermany" rel="nofollow noreferrer">docs again</a>, the instance of conn string should be in singleton scope</p>
  
  <blockquote>
    <p>When you call the UseInstance the instance will be *directly put into Open scope or Singleton scope based on whether the container is scoped (returned from OpenScope call) or not. In addition, the scoped and sington instances may coexist with each other.</p>
  </blockquote>
  
  <p>I used similar code before, just used DryIoc.MEF extension with <code>ExportManyAttribute</code> and <code>ImportAttribute</code>. Usage of <code>UseInstace</code> was exactly the same as bellow. Everything worked. What am I missing here? Why is this exception thrown?</p>
  
  <p>First I tought this code is so simple it can't fail :)</p>