Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoids a
System.InvalidCastException
error to be thrown when passin…
…g `ObjectCollection` to `AddRangeInternal` of the `DataGridViewComboBoxCell.ObjectCollection` class (#12613) Avoids a System.InvalidCastException error to be thrown when passing ObjectCollection to AddRangeInternal of the DataGridViewComboBoxCell.ObjectCollection Fixes #12612 ## Proposed changes - Avoids a `System.InvalidCastException` error to be thrown when passing `ObjectCollection` to `AddRangeInternal` of the `DataGridViewComboBoxCell.ObjectCollection` class, by: - Modifying the `AddRange(ObjectCollection value)` method - Adding the `AddRangeInternal(ObjectCollection items)` methods - Adds unit test ## Customer Impact - Avoids a possible `System.InvalidCastException` ## Regression? - No ## Risk - Minimal ## Screenshots ### Before ### After ## Test methodology - Unit tests ## Accessibility testing ## Test environment(s) - `10.0.100-alpha.1.24573.1` Co-authored-by: Ricardo Bossan (BEYONDSOFT CONSULTING INC) (from Dev Box) <v-rbossan@microsoft.com>
- Loading branch information