diff --git a/LightweightIocContainer/IocContainer.cs b/LightweightIocContainer/IocContainer.cs index 7e5d434..edc5f9c 100644 --- a/LightweightIocContainer/IocContainer.cs +++ b/LightweightIocContainer/IocContainer.cs @@ -329,7 +329,7 @@ namespace LightweightIocContainer object multitonScopeArgument = TryGetMultitonScopeArgument(multitonRegistration, arguments); parametersToResolve ??= new List(); - parametersToResolve.Add(multitonScopeArgument); + parametersToResolve.Insert(0, multitonScopeArgument); //insert scope at first place, won't be passed to ctor when creating multiton } if (result)