Currently it's not guarded against setting it to null:
|
/// <summary> |
|
/// Gets or sets the <see cref="ImageFormatManager"/> that is currently in use. |
|
/// </summary> |
|
public ImageFormatManager ImageFormatsManager { get; set; } = new ImageFormatManager(); |
I'm wondering if we need the public setter at all? No test cases exercise it, every call site seems to modify the existing collection.