Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f453183

Browse files
committed
Clean up BitConverter.cs in corefx
- Fixes a resource string to be accurate - Consolidates exception throwing into helpers (as is done in mscorlib) - Fixes up some if/else structure - Replaces some type names with language keywords - Replaces some Contract.Asserts with Debug.Asserts
1 parent ec9440f commit f453183

File tree

2 files changed

+92
-140
lines changed

2 files changed

+92
-140
lines changed

src/System.Runtime.Extensions/src/Resources/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
<value>The parameter '{0}' cannot be an empty string.</value>
137137
</data>
138138
<data name="Arg_ArrayPlusOffTooSmall" xml:space="preserve">
139-
<value>Destination array is not long enough to copy all the items in the collection. Check array index and length.</value>
139+
<value>Array is not long enough. Check array index and length.</value>
140140
</data>
141141
<data name="ArgumentOutOfRange_Index" xml:space="preserve">
142142
<value>Index was out of range. Must be non-negative and less than the size of the collection.</value>

0 commit comments

Comments
 (0)