dadhi / DryIoc

DryIoc is fast, small, full-featured IoC Container for .NET
MIT License
1.03k stars 122 forks source link

Used instance is not checked in the upper scopes in some case #483

Closed dadhi closed 2 years ago

dadhi commented 2 years ago

When using Use(instance) for the upper scope and then resolving/injecting it from the nested scope, it won't work currently if the nested scope contains any other used instance.