[System.Drawing.Design] Allow `context` be a null in the `ColorEditor.EditValue`...
commit000430002a66abca2e02d0b40dfff2a23ff9b7ec
authorNikita Voronchev <nikita.voronchev@ru.axxonsoft.com>
Sat, 10 Aug 2019 14:01:37 +0000 (10 17:01 +0300)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sat, 10 Aug 2019 14:01:37 +0000 (10 16:01 +0200)
tree854ade3aa04854d4610c4cf8b60502971e743ff4
parentb52830cf1120bdeaf693080e22b3af87e3aef9e8
[System.Drawing.Design] Allow `context` be a null in the `ColorEditor.EditValue` (#16141)

If one call `ColorEditor.EditValue(IServiceProvider, Object)` ([MSDN](https://docs.microsoft.com/ru-ru/dotnet/api/system.drawing.design.uitypeeditor.editvalue?view=netframework-4.8#System_Drawing_Design_UITypeEditor_EditValue_System_IServiceProvider_System_Object_)), then `context` is `null` and drop-down menu doesn't appear.
mcs/class/System.Drawing.Design/System.Drawing.Design/ColorEditor.cs