We should use FCDECL3_VII/FCIMPL3_VII instead of FCDECL3/FCIMPL3
otherwise we got incorrect order of arguments that leads to crashes.
Commit migrated from https://github.com/dotnet/coreclr/commit/
fe44fe6526ea3c6e6322f3684651c14865431dcf
#pragma warning(pop)
#endif
-FCIMPL3(void, COMNumber::DoubleToNumberFC, double value, int precision, NUMBER* number)
+FCIMPL3_VII(void, COMNumber::DoubleToNumberFC, double value, int precision, NUMBER* number)
{
FCALL_CONTRACT;
class COMNumber
{
public:
- static FCDECL3(void, DoubleToNumberFC, double value, int precision, NUMBER* number);
+ static FCDECL3_VII(void, DoubleToNumberFC, double value, int precision, NUMBER* number);
static FCDECL1(double, NumberToDoubleFC, NUMBER* number);
static FCDECL2(FC_BOOL_RET, NumberBufferToDecimal, NUMBER* number, DECIMAL* value);