Out of curiosity I want to see the assembly code for the implementation of some internal methods. In this example I am trying to start with the Interlocked.Increment method.
By setting a break point on my source code and then showing the Disassembly window I get the following display...
29: Interlocked.Increment(ref xx);
00007FFDBC110279 lea rcx,[rbp+1FCh]
00007FFDBC110280 call 00007FFE1AD90020
00007FFDBC110285 mov dword ptr [rbp+68h],eax
00007FFDBC110288 nop
The implementation seems to be at location 00007FFE1AD90020. But how can I see the disassembly at this address? Entering it into the Address field of the Disassembly window gives the following error...
The specified address cannot be displayed. End of expression expected.
Even if I enter the address of the break point position (00007FFE1AD90020) which we know is a valid address because here we are break pointed on it, I get the same error.
Any ideas how I can get to the disassembly for the target method?
NOTE: I am using Windows 8.1 Pro, Visual Studio 2013 Update 2 on a 64 bit machine. If that makes any difference.