There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
container.GetInstance<object>() always succeeds
The following code is expected to fail, since System.Object is not registered:
var container = new Container();
// This call should fail.
However, since object is concrete type with a single public constructor, it will be generated automatically by the container.
There should be an exception when the unregistered concrete type is an System.Object, since users would not expect this, and it makes no sense to let the container create transient System.Object instances.