Well, you cannot get a list of all objects, because objects are not registered, there are types. Unity 2.0 added the UnityContainer.Registrations property, which you can use to see what is in the container.
If you have open generic files, a known error will be detected that causes the Registrations property to throw an exception.
source share