Comments
Sort by recent activity
Hi.
There are two additional properties that the C# language writer is looking for in the LanguageWriterConfiguration.
One for setting the number format configuration["NumberFormat"] = "Decimal"; // "Hexadecimal"
and one for determining if the writer should output C# 4 constructs in a couple of circumstances configuration["Optimization"] = "4.0"; // "2.0"
/ comments
Hi.
There are two additional properties that the C# language writer is looking for in the LanguageWriterConfiguration.
One for setting the number format configuration["NumberFormat"&...
You're found a bug, which affects assemblies compiled against the .NET 4 platform.
The code that decompiles a delegate as a lambda expression, has a guard which checks that the assembly containing the type references System.Query or System.Core.
Hence the following decompiles to a lambda expression static void Main(string[] args)
{
Type foo = typeof (System.Linq.Enumerable);
Func<int, int> xx =
delegate(int x)
{
return x * 3;
};
}
but commenting out the typeof line causes Reflector to always decompile to a delegate (as the assembly no longers references out of the assemblies mentioned above).
I've logged this as RP-760. / comments
You're found a bug, which affects assemblies compiled against the .NET 4 platform.
The code that decompiles a delegate as a lambda expression, has a guard which checks that the assembly containing ...
This has now been fixed. The fix will be in the next EAP release. / comments
This has now been fixed. The fix will be in the next EAP release.
For a simple example like Func<int, int> xx =
delegate(int x)
{
return x*3;
};
if the View/Options/Disassembler/Optimization is set to .NET 2.0, you see the code as a delegate, but if you set it to .NET 3
.5 you see it as a lambda Func<int, int> xx = x => x * 3;
/ comments
For a simple example like Func<int, int> xx =
delegate(int x)
{
return x*3;
};
i...
Reflector only knows how to write out the project file for C# and Visual Basic projects, so I think your only option is to manually create a project file. / comments
Reflector only knows how to write out the project file for C# and Visual Basic projects, so I think your only option is to manually create a project file.
Hi.
If you navigate to the interface, you can expand the "Derived Types" to see implementations of the interface. / comments
Hi.
If you navigate to the interface, you can expand the "Derived Types" to see implementations of the interface.
It looks like it the addin cannot be found. This usually happens because the distribution was moved after the addin was installed or because the addin dll has been marked as unsafe.
Could you try uninstalling and then reinstalling the addin using the integration options dialog?
If that doesn't work, where have you unzipped the Reflector distribution? / comments
It looks like it the addin cannot be found. This usually happens because the distribution was moved after the addin was installed or because the addin dll has been marked as unsafe.
Could you try u...
Hi.
Please could you have a look at the log files which you'll find in your equivalent of
C:\Users\clive.tong\AppData\Local\Red Gate\.NET Reflector 6
and sent any non-empty log files to me [clive DOT tong AT red HYPHEN gate DOT com]
Thanks / comments
Hi.
Please could you have a look at the log files which you'll find in your equivalent of
C:\Users\clive.tong\AppData\Local\Red Gate\.NET Reflector 6
and sent any non-empty log files to me [clive D...
To see some C#, you need to have selected a namespace, type or method.
Check that the Disassembler Pane is shown - if you have selected an assembly, say mscorlib, then pressing space will display it. Then expand the tree view until you reach something more interesting - from mscorlib, you could expand to CommonLanguageRuntimeLibrary and then go to the namespace Microsoft.Runtime.Hosting. When you select that, some C# code will be displayed. / comments
To see some C#, you need to have selected a namespace, type or method.
Check that the Disassembler Pane is shown - if you have selected an assembly, say mscorlib, then pressing space will display i...
Thanks for reporting this. I've logged it as RP-758. / comments
Thanks for reporting this. I've logged it as RP-758.