mirror of
https://github.com/aaru-dps/Aaru.Helpers.git
synced 2025-12-16 19:24:35 +00:00
Move all localizable strings from Aaru.Helpers project to resources.
This commit is contained in:
@@ -49,7 +49,7 @@ public static partial class ArrayHelpers
|
||||
ArgumentNullException.ThrowIfNull(destinationArray);
|
||||
|
||||
if(value.Length > destinationArray.Length)
|
||||
throw new ArgumentException("Length of value array must not be more than length of destination");
|
||||
throw new ArgumentException(Localization.Length_of_value_array_must_not_be_more_than_length_of_destination);
|
||||
|
||||
// set the initial array value
|
||||
Array.Copy(value, destinationArray, value.Length);
|
||||
|
||||
Reference in New Issue
Block a user