Actual behavior
When using DECIMAL to decimal conversion from a stored DECIMAL inside a VARIANT or PROPVARIANT than Visual Studio Debugger can not show the converted decimal value.
I think this problem comes with optimization of conversion in issue #1512.
Expected behavior
The Debugger should show the correct decimal value.
Repro steps
NativeMethods.txt content:
VARIANT
PROPVARIANT
VARENUM
DECIMAL
NativeMethods.json content (if present):
- Any of your own code that should be shared?
See project
ConsoleApp1.zip
Set a breakpoint at the end of Program.Main and have a look with the debugger to the variables result and correct.
Context
- CsWin32 version: [0.3.264]
- Win32Metadata version (if explicitly set by project):
- Target Framework: [net8.0]
LangVersion (if explicitly set by project): [e.g. 9]
Actual behavior
When using DECIMAL to decimal conversion from a stored DECIMAL inside a VARIANT or PROPVARIANT than Visual Studio Debugger can not show the converted decimal value.
I think this problem comes with optimization of conversion in issue #1512.
Expected behavior
The Debugger should show the correct decimal value.
Repro steps
NativeMethods.txtcontent:NativeMethods.jsoncontent (if present):See project
ConsoleApp1.zip
Set a breakpoint at the end of Program.Main and have a look with the debugger to the variables result and correct.
Context
LangVersion(if explicitly set by project): [e.g.9]