projects
/
sdk
/
tools
/
netcoredbg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ff52a
)
Rename System.Decimal to decimal
author
Igor Kulaychuk
<i.kulaychuk@samsung.com>
Mon, 10 Jul 2017 21:12:10 +0000
(
00:12
+0300)
committer
Igor Kulaychuk
<i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:22:40 +0000
(22:22 +0300)
src/debug/debugger/typeprinter.cpp
patch
|
blob
|
history
diff --git
a/src/debug/debugger/typeprinter.cpp
b/src/debug/debugger/typeprinter.cpp
index
c8dbdfb
..
fecc11b
100644
(file)
--- a/
src/debug/debugger/typeprinter.cpp
+++ b/
src/debug/debugger/typeprinter.cpp
@@
-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;
}
}