I have a project using Unity for IoC and I am also utilizing the Common Service Locator .
I started using the CSL later in the project and replaced my previous usages of the unity container with it.
The code for the CSL looks like this
Dim locator As New UnityServiceLocator(container)
Microsoft.Practices.ServiceLocation.ServiceLocator.SetLocatorProvider(Function() locator)
The container is my UnityContainer that has been configured, now from looking at this it would seem that calling container.Resolve() would resolve the same type as ServiceLocator.Current.GetInstance() since the locator is using the underlying container.
But I will tell you for a fact since I spent 30 minutes to determine some odd behavior was coming from the fact that I missed a line that was still using the old container.Resolve(), so two methods where asking for the same type but receiving completely different instances.