Rename resource strings to match resx (#10475)
authorDan Moseley <danmose@microsoft.com>
Sat, 25 Mar 2017 03:02:35 +0000 (20:02 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Mar 2017 03:02:35 +0000 (20:02 -0700)
src/classlibnative/bcltype/arraynative.cpp

index d12867e..53a3654 100644 (file)
@@ -1143,7 +1143,7 @@ void ArrayNative::CheckElementType(TypeHandle elementType)
 
         // Check for byref-like types.
         if (pMT->IsByRefLike())
-            COMPlusThrow(kNotSupportedException, W("NotSupported_ByRefLike[]"));
+            COMPlusThrow(kNotSupportedException, W("NotSupported_ByRefLikeArray"));
 
         // Check for open generic types.
         if (pMT->IsGenericTypeDefinition() || pMT->ContainsGenericVariables())
@@ -1151,7 +1151,7 @@ void ArrayNative::CheckElementType(TypeHandle elementType)
 
         // Check for Void.
         if (elementType.GetSignatureCorElementType() == ELEMENT_TYPE_VOID)
-            COMPlusThrow(kNotSupportedException, W("NotSupported_Void[]"));
+            COMPlusThrow(kNotSupportedException, W("NotSupported_VoidArray"));
 
         // That's all the dangerous simple types we know, it must be OK.
         return;