ArrayMessages
ArrayMessages.Instance (SystemMessages.Array) contains message descriptions scraped from mscorlib.dll for Array.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA345002A | 0x80070057 | ArrayLengthsDiffer | mscorlib.Arg_ArrayLengthsDiffer | Array lengths must be the same. | System.ArgumentException |
0xA345002B | 0x80070057 | ArrayPlusOffTooSmall | mscorlib.Arg_ArrayPlusOffTooSmall | Destination array is not long enough to copy all the items in the collection. Check array index and length. | System.ArgumentException |
0xA345002C | 0x80131503 | ArrayTypeMismatchException | mscorlib.Arg_ArrayTypeMismatchException | Attempted to access an element as a type incompatible with the array. | System.ArrayTypeMismatchException |
0xA345002D | 0x80070057 | ArrayZeroError | mscorlib.Arg_ArrayZeroError | Array must not be of length zero. | System.ArgumentException |
0xA3450030 | 0x80070057 | BitArrayTypeUnsupported | mscorlib.Arg_BitArrayTypeUnsupported | Only supported array types for CopyTo on BitArrays are Boolean[], Int32[] and Byte[]. | System.ArgumentException |
0xA345004D | 0x80070057 | EmptyArray | mscorlib.Arg_EmptyArray | Array may not be empty. | System.ArgumentException |
0xA345004F | 0x80070057 | EmptyOrNullArray | mscorlib.Arg_EmptyOrNullArray | Array may not be empty or null. | System.ArgumentException |
0xA3450069 | 0x80070057 | GuidArrayCtor | mscorlib.Arg_GuidArrayCtor | Byte array for GUID must be exactly {0} bytes long. | System.ArgumentException |
0xA34500A5 | 0x80070057 | MustBePrimArray | mscorlib.Arg_MustBePrimArray | Object must be an array of primitives. | System.ArgumentException |
0xA34500B6 | 0x80070057 | Need1DArray | mscorlib.Arg_Need1DArray | Array was not a one-dimensional array. | System.ArgumentException |
0xA34500B7 | 0x80070057 | Need2DArray | mscorlib.Arg_Need2DArray | Array was not a two-dimensional array. | System.ArgumentException |
0xA34500B8 | 0x80070057 | Need3DArray | mscorlib.Arg_Need3DArray | Array was not a three-dimensional array. | System.ArgumentException |
0xA34500CC | 0x80070057 | ParmArraySize | mscorlib.Arg_ParmArraySize | Must specify one or more parameters. | System.ArgumentException |
0xA34500F1 | 0x80131533 | SafeArrayRankMismatchException | mscorlib.Arg_SafeArrayRankMismatchException | Specified array was not of the expected rank. | System.Runtime.InteropServices.SafeArrayRankMismatchException |
0xA34500F2 | 0x80131538 | SafeArrayTypeMismatchException | mscorlib.Arg_SafeArrayTypeMismatchException | Specified array was not of the expected type. | System.Runtime.InteropServices.SafeArrayTypeMismatchException |
0xA3450115 | 0x80070057 | ArrayGetInterfaceMap | mscorlib.Argument_ArrayGetInterfaceMap | Interface maps for generic interfaces on arrays cannot be retrived. | System.ArgumentException |
0xA3450116 | 0x80070057 | ArraysInvalid | mscorlib.Argument_ArraysInvalid | Array or pointer types are not valid. | System.ArgumentException |
0xA3450117 | 0x80070057 | ArrayTooLarge | mscorlib.Argument_ArrayTooLarge | The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue. | System.ArgumentException |
0xA345015F | 0x80070057 | EmptyWaithandleArray | mscorlib.Argument_EmptyWaithandleArray | Waithandle array may not be empty. | System.ArgumentException |
0xA3450170 | 0x80070057 | HasToBeArrayClass | mscorlib.Argument_HasToBeArrayClass | Must be an array type. | System.ArgumentException |
0xA345017F | 0x80070057 | IndexOutOfArrayBounds | mscorlib.Argument_IndexOutOfArrayBounds | The specified index is out of bounds of the specified array. | System.ArgumentException |
0xA3450185 | 0x80070057 | InvalidArrayLength | mscorlib.Argument_InvalidArrayLength | Length of the array must be {0}. | System.ArgumentException |
0xA3450186 | 0x80070057 | InvalidArrayType | mscorlib.Argument_InvalidArrayType | Target array type is not compatible with the type of items in the collection. | System.ArgumentException |
0xA34501A0 | 0x80070057 | InvalidGenericInstArray | mscorlib.Argument_InvalidGenericInstArray | Generic arguments must be provided for each generic parameter and each generic argument must be a RuntimeType. | System.ArgumentException |
0xA34501E0 | 0x80070057 | MismatchedArrays | mscorlib.Argument_MismatchedArrays | Two arrays, {0} and {1}, must be of the same size. | System.ArgumentException |
0xA345025B | 0x80070057 | OtherNotArrayOfCorrectLength | mscorlib.ArgumentException_OtherNotArrayOfCorrectLength | Object is not a array with the same number of elements as the array to compare it to. | System.ArgumentException |
0xA345025E | 0x80004003 | Array | mscorlib.ArgumentNull_Array | Array cannot be null. | System.ArgumentNullException |
0xA345025F | 0x80004003 | ArrayElement | mscorlib.ArgumentNull_ArrayElement | At least one element in the specified array was null. | System.ArgumentNullException |
0xA3450260 | 0x80004003 | ArrayValue | mscorlib.ArgumentNull_ArrayValue | Found a null value within an array. | System.ArgumentNullException |
0xA3450276 | 0x80131502 | ArrayLength | mscorlib.ArgumentOutOfRange_ArrayLength | The length of the array must be between {0} and {1}, inclusive. | System.ArgumentOutOfRangeException |
0xA3450277 | 0x80131502 | ArrayLengthMultiple | mscorlib.ArgumentOutOfRange_ArrayLengthMultiple | The length of the array must be a multiple of {0}. | System.ArgumentOutOfRangeException |
0xA3450278 | 0x80131502 | ArrayListInsert | mscorlib.ArgumentOutOfRange_ArrayListInsert | Insertion index was out of range. Must be non-negative and less than or equal to size. | System.ArgumentOutOfRangeException |
0xA3450279 | 0x80131502 | ArrayTooSmall | mscorlib.ArgumentOutOfRange_ArrayTooSmall | Destination array is not long enough to copy all the required data. Check array length and offset. | System.ArgumentOutOfRangeException |
0xA34504EB | 0x80131517 | RankMultiDimNotSupported | mscorlib.Rank_MultiDimNotSupported | Only single dimension arrays are supported here. | System.RankException |
0xA345064E | LongerThanDestArray | mscorlib.Arg_LongerThanDestArray | Destination array was not long enough. Check destIndex and length, and the array's lower bounds. | ||
0xA345064D | LongerThanSrcArray | mscorlib.Arg_LongerThanSrcArray | Source array was not long enough. Check srcIndex and length, and the array's lower bounds. | ||
0xA3450680 | ArrayLB | mscorlib.ArgumentOutOfRange_ArrayLB | Number was less than the array's lower bound in the first dimension. | ||
0xA3450681 | ArrayLBAndLength | mscorlib.ArgumentOutOfRange_ArrayLBAndLength | Higher indices will exceed Int32.MaxValue because of large lower bound and/or length. | ||
0xA3450682 | TypeMismatchCantAssignType | mscorlib.ArrayTypeMismatch_CantAssignType | Source array type cannot be assigned to destination array type. | ||
0xA3450683 | TypeMismatchConstrainedCopy | mscorlib.ArrayTypeMismatch_ConstrainedCopy | Array.ConstrainedCopy will only work on array types that are provably compatible, without any form of boxing, unboxing, widening, or casting of each array element. Change the array types (i.e., copy a Derived[] to a Base[]), or use a mitigation strategy in the CER for Array.Copy's less powerful reliability contract, such as cloning the array or throwing away the potentially corrupt destination array. | ||
0xA345061D | 0x80131517 | RankMustMatch | mscorlib.Rank_MustMatch | The specified arrays must have the same number of dimensions. | System.RankException |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/