IOC: Fix for parameters in singletons constructors could generate invalid IL code.
IOC: Complex IEnumerable case fixed