How to see source code of RouteValueDictionary class
I want see t开发者_StackOverflow社区he source code of System.Web.Routing.RouteValueDictionary class. But Reflector can't disassemble it correctly.
Thanks!
Using the new .NET Reference Library (https://ReferenceSource.Microsoft.com/), you can now see the exact source with comments. Here's the link to the RouteValueDictionary source code.
Here's a pastebin link for the code I just disassembled: http://pastebin.com/c1gQpBMG
You opened the "Reference Assembles" version, which is a metadata-only version of the assembly used by Visual Studio for performance and multitargeting support. You need to open assemblies under windows\microsoft.net\framework... in order to disassemble them.
精彩评论