Rename System.Decimal to decimal
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 10 Jul 2017 21:12:10 +0000 (00:12 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:22:40 +0000 (22:22 +0300)
src/debug/debugger/typeprinter.cpp

index c8dbdfb..fecc11b 100644 (file)
@@ -252,7 +252,10 @@ HRESULT TypePrinter::GetTypeOfValue(ICorDebugType *pType, std::string &elementTy
                 {
                     char cName[mdNameLen] = {0};
                     WideCharToMultiByte(CP_UTF8, 0, g_mdName, (int)(_wcslen(g_mdName) + 1), cName, _countof(cName), NULL, NULL);
-                    ss << cName;
+                    if (strcmp(cName, "System.Decimal") == 0)
+                        ss << "decimal";
+                    else
+                        ss << cName;
                 }
 
             }