.NET Reflector 9

Help for older versions available.

These pages cover .NET Reflector 9, which is not the latest version. Help for other versions is also available.

.NET Reflector 9.0 release notes

16th November, 2015

Features

  • Visual Studio add-in now supports Visual Studio 2015
  • Support for the following C# 6 features:

Null conditional operator

  1. mightBeNull?.MethodCalledIfNotNull();

Auto property initializers

 

  1. public class Customer
  2. {
  3. public string First { get; set; } = "Jane";
  4. public string Last { get; set; } = "Doe";
  5. }

Exception filters

 

  1. try
  2. {
  3. // HTTP request
  4. }
  5. catch (System.Web.HttpException e) if (e.GetHttpCode() == 404)
  6. {
  7. // Handle exception
  8. }

Indexer initializers

 

  1. var dict = new Dictionary<int,string>
  2. {
  3. [3] = "foo",
  4. [42] = "bar"
  5. };

Expression bodied function members and properties

  1. public int Height { get; set; }
  2. public int Radius { get; set; }
  3.  
  4. public double Area => Math.PI*2.0*Radius*(Height + Radius);
  5. public override string ToString() => $"Cylinder: Radius={Radius}, Height={Height}";

Roslyn-compiled async code and anonymous methods

The Roslyn compiler and the C#5 compiler emit different IL for asynchronous and anonymous methods. Reflector can now correctly decompile Roslyn-compiled code for these language constructs.

String interpolation

  1. var variables = "cheese";
  2. var s = $"This string has {variables} in it";

 

Fixes

  • RP-3408 - Reflector no longer crashes when javascript is disabled in Internet Explorer security settings

  • RP-1533 - Fixed crash updating the assembly list tree

  • RP-3478 - The 'show inherited members' keyboard shortcut (CTRL-I) works again

  • RP-3881 - Switch on strings is no longer decompiled as a set of if statements

  • RP-2867 - Fix crash displaying the splash screen on systems without .NET 3.5 or higher

  • RP-2759 - Fix crash in Visual Studio add-in

  • RP-3888 - Decompiler no longer generates code which references object before its construction

  • RP-3882 - Reflector now correctly detects derived classes of inner classes

  • Improvements to UI on high DPI displays

  • F12 (Go To Definition) now works correctly in Visual Studio 2015

Known issues

  • NameOf is not supported
  • await in catch/finally blocks is not supported

Thanks to Paulo Morgado for his input during the beta program.


Didn't find what you were looking for?