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?
Prevent throwing NullReferenceException when applying property injection to Func<T> that returns null.
When users register a Func<T> delegate for the creation of a type, the container wraps this delegate in another delegate that performs a null check. This ensures that a descriptive exception is thrown in case the Func<T> returns null.
This null check however is currently added after applying property injection. If any properties are applied to a Func<T> registration, it would still result in a NullReferenceException in the case that the Func<T> returned null.