Reword invalid program exception message (#18409)
authorDan Moseley <danmose@microsoft.com>
Mon, 11 Jun 2018 21:42:35 +0000 (14:42 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Jun 2018 21:42:35 +0000 (14:42 -0700)
* Reword invalid program exception message

* Reword

* Update msg

src/dlls/mscorrc/mscorrc.rc
src/dlls/mscorrc/resource.h

index 42c0be4..21a24c9 100644 (file)
@@ -1417,7 +1417,7 @@ BEGIN
 
     IDS_EE_ARRAY_DIMENSIONS_EXCEEDED        "Array dimensions exceeded supported range."
 
-    IDS_EE_CANNOT_LOAD_JIT                  "Unable to load Jit Compiler: (%s): file may be missing or corrupt. Please check or rerun setup."
+    IDS_EE_CANNOT_LOAD_JIT                  "Unable to load JIT Compiler: (%s): file may be missing or corrupt. Please check or rerun setup."
     IDS_EE_PROFILING_FAILURE                "Profiling failure"
 
 
@@ -1527,8 +1527,7 @@ BEGIN
 
     IDS_EE_WRONG_METADATA_VERSION           "'%1' has an incompatible metadata format. The assembly must be compiled using metadata format '%2'."
     IDS_CLASSLOAD_COLLECTIBLEFIXEDVTATTR   "Collectible type '%1' has unsupported FixedAddressValueTypeAttribute applied to a field."
-    IDS_EE_JIT_COMPILER_ERROR               "JIT Compiler encountered an internal limitation."
-    IDS_UNMARSHALABLE_DEMAND_OBJECT         "The security object (Permission or PermissionSet) used for performing a Demand caused an error relating to serialization/deserialization."
+    IDS_EE_JIT_COMPILER_ERROR               "The JIT compiler encountered invalid IL code or an internal limitation."
     IDS_EE_OBJECT_TO_VARIANT_NOT_SUPPORTED  "Invalid managed/unmanaged type combination (Marshaling to and from COM VARIANTs isn't supported)."
     IDS_EE_OBJECT_TO_ITF_NOT_SUPPORTED      "Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported)."
 
index 49f1d0e..676d28f 100644 (file)
 #define IDS_CLASSLOAD_GENERICTYPE_RECURSIVE     0x207D
 #define IDS_LOADINTROSPECTION_DISALLOWED        0x207E
 #define IDS_EE_JIT_COMPILER_ERROR               0x207F
-#define IDS_UNMARSHALABLE_DEMAND_OBJECT         0x2080
 #define BFA_TYPE_FWD_CHAIN_TOO_LONG             0x2081
 
 #define IDS_ER_APPLICATION                      0x2082