150 likes | 369 Vues
.NET Reflector 5.0. Lutz Roeder December 2006. Overview. C# 3.0 : LINQ query expressions, Lambda expressions Code URL : code://mscorlib/System.Object Assembly Browser: Multiple windows Disassembler: Expand Methods Analyzer: Exposed By , Instantiated By, Assigned By
E N D
.NET Reflector 5.0 Lutz Roeder December 2006
Overview • C# 3.0:LINQ query expressions, Lambda expressions • Code URL:code://mscorlib/System.Object • Assembly Browser: Multiple windows • Disassembler: Expand Methods • Analyzer: Exposed By, Instantiated By, Assigned By • Search: String and Constant search • New Options dialog • Improved Shell integration
C# 3.0 support • Extension methods • Object initializers • LINQ query expressions • Collection initializers • Lambda expressions
C# 3.0 and 2.0 support • Enable via View, Options, Optimization: .NET 3.5 • C# 2.0: Anonymous methods and nullable types
Code URL support • Navigate to code://mscorlib/System.Object via IE • Ctrl+Alt+C to copy the URL for current item • Add to HTML pages using <a href=“code://…”>
Assembly Browser • Multiple Windows: Analyzer and Disassembler windows can be open at the same time • Updateassembly locationif loading the same assembly twice from different locations • Back and Forward mouse buttons and shortcut keys work from all windows
Disassembler • Expand Methods and Expand Types feature • Context-sensitive documentationview • Click on declaration jumps to item in the browser • Tab to cycle through links, Up/Down to scroll • Context-based automatic variable naming
Analyzer • Add and analyze multiple items (DEL to remove) • Find overrides of virtual methods • “Exposed By” and “Instantiated By” search • “Assigned By” search for fields
Search • String or Constant search • Exactmatching of multiple words
Assembly Lists • Default lists for: • .NET Framework 3.5 • .NET Framework 3.0 • .NET Compact Framework 3.5 • .NET Compact Framework 2.0 • XNA Framework 1.0 • DirectX for Managed Code • Mono
Resource Viewer • Save byte arrays in .resources file to disk • Double-click opens using shell file extension
Options Dialog • Use hex or decimal number format • Indentation setting for text output • Switch between public only and all items • Automatically resolve assembly references • Optimization setting (show raw code)
) Windows Shell integration • Run Reflector.exe /register to register file extensions • Right-click and “Browse…” • Improved 120 DPI support • Windows Vista support