I need to get a hold of the ORIGINAL source code for System.Numerics.BigInteger with developer comments and sensible variable names. I know how to decompile assemblies and that is not the answer I’m looking for.
What I have tried:
- Downloading the source code for both .NET 4 and 4.5 but BigInteger is not included for some reason.
- Source stepping by following MS instructions but that did not work due to this issue with SP1 and I don’t have the option of rolling back on my dev machine. Nor do I have access to another dev-capable machine.
I’m sure many of you have used source-stepping to debug and/or view BCL source code. If you have, please post the BigInteger and dependent code as an answer. If doing that crosses any legal boundaries, please let me know the same so I can jump at alternatives. If you do suggest alternatives, please include a concrete reason for doing so.
This has been asked before on MSDN BigInteger source code
Your not going to get it with code comments unless you have access to the private Micrsoft source and symbol servers.
The source stepping is your best bet. I too have experienced the problems you mention and found the RedGate source stepper (part of Reflector trial on a VM) does the trick.
An alternate would be to use a 3rd party if you dont have time to write your own:
http://www.codeproject.com/Articles/2728/C-BigInteger-Class
UPDATE: