Prism.Container.Extensions icon indicating copy to clipboard operation
Prism.Container.Extensions copied to clipboard

Incorrect null-check?

Open znakeeye opened this issue 1 year ago • 0 comments

With Nullable enabled, Visual Studio detects a potential bug:

The condition on IServiceProviderExtensions.cs(52) looks wrong. I believe it should be the following:

else if (service.ImplementationFactory != null)

znakeeye avatar Sep 02 '22 07:09 znakeeye