## NullReferenceException in exception handling code from ImageSourceConverter.ConvertFrom ### Scope Edge ### Version Introduced 4.7 ### Source Analyzer Status NotPlanned ### Change Description An error in the exception handling code for caused an incorrect to be thrown instead of the intended exception ( or ). This change corrects that error so that the method now throws the right exception.

By default all applications targeting .NET Framework 4.6.2 and earlier continue to throw for compatibility. Developers targeting .NET Framework 4.7 and above should see the right exceptions. - [x] Quirked - [ ] Build-time break ### Recommended Action Developers who wish to revert to getting when targeting .NET Framework 4.7 or later can add/merge the following to their application's App.config file: ```xml ``` ### Affected APIs - `M:System.Windows.Media.ImageSourceConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)` ### Category Windows Presentation Foundation (WPF)