We have a class:class TestClass { static int a; const static int b;};When we are parsing a symbol info, we try to get a VA for static member through IDiaSymbol::get_virtualAddress. It return S_OK for both static members. But for const members it returns 0x0 VA.We tried to print symbol info in windbg ( dt TestClass )windbg 6.11:prints right VA for non-constant static memberprints invalid VA for constant static memberwindbg 6.2.8220:prints right address in both cases.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...