reflector

DotNet Reflector - why can't I disassemble XmlHierarchicalEnumerable ?

Note that the following are examples of the rare cases where dotNet reflector does not disassemble correctly. In the vast majority of cases it works perfectly, and I am not suggesting this is necessarily a bug in reflector. It may be a result of protection or obfuscation or unmanaged code on the assemblies in question. I try to disasse...

Can I use .NET reflector to modify & recompile the code quickly?

Is it possible to use .NET reflector (or an other tool) to modify & recompile the code quickly (i.e. without dumping the source and then use VS to recompile it)? ...

Launch Reflector from Visual Studio 2008 References Section in Solution Explorer

How do you configure Visual Studio 2008 to launch the Redgate .Net Reflector from a right click on an assembly in the references section in the solution explorer? I have it set up at the office to do this, so I know it's possible. I do have ReSharper installed but I don't think this is ReSharper functionality. UPDATE This is the func...

Reflector: Does the comment in this code mean the whole thing is obfuscated?

So in the code below you'll notice the comment "// This item is obfuscated and can not be translated." What I'm wondering is does that mean that the comment is there in place of some obfuscated code and what follows is not actually obfuscated or does it mean "the following code is obfuscated"? From what I can find on the web it sounds ...

Ethical Software Installs - Affecting other software

I'd like to get a community view on this, as I was personally very offended at the way some software I have used for a long time recently changed in behavior. In this particular case, it's the .Net Reflector now updated by RedGate. I've used it for years, I'm sure many of you have as well, however in their new versions, 6.0+ (6.1 at th...

Experience with .NET Reflector Pro

Hi, do you have an experience with .NET Reflector Pro (not the free version)? I searched for some way how to easy debug application in external enviroment (for example: production server out of office/developer domain) and I found feature "Step through decompiled assemblies and use all the debugging techniques you would use on your own...

How to see source code of RouteValueDictionary class

I want see the source code of System.Web.Routing.RouteValueDictionary class. But Reflector can't disassemble it correctly. Thanks! ...

Understanding C# strings reconstructed by Reflector

I have been asked to help with a C# project where the source code is no longer available. Fortunately a non-obfuscated debug build of the project is available, so I ran it through Reflector and the reconstructed source code looks largely fine. There is one oddity that I have a question about. Some objects that pretty clearly should be...

Open Source Alternatives to Reflector?

Hi, Just to ask if anyone knows of an open source alternative to RedGate's Reflector? I'm interested in checking out how a tool similar to Reflector actually works. Thanks, MagicAndi. ...

Using Reflector To Create VisualStudio Project

I have a .exe app which I want to understand better - I can see it in reflector Is there any way to get reflector to create a VS project with the code so I can view it properly in Visual Studio? ...

How can I protect my .NET assemblies from decompilation?

One if the first things I learned when I started with C# was the most important one. You can decompile any .NET assembly with Reflector or other tools. Many developers are not aware of this fact and most of them are shocked when I show them their source code. Protection against decompilation is still a difficult task. I am still looking...

How to get Visual Studio to step into third party assemblies

When I'm debugging or even coding, it would be really uesful to examine third party assemblies but I can only see their metadata. Given that tools like reflector can decompile assemblies, is there someway or some tool which would allow visual studio to do the same thing? If I happen to have access to the PDB files for an assemblies, w...

Opening XNA Xbox 360 assemblies in Reflector

I'd like to get a look at the differences between the Xbox 360 and Windows XNA assemblies. I know the 360 runs the .NET Compact Framework and I was under the impression that Reflector could read CF assemblies, but when I open them, all of the methods are blank and no internal classes are shown. Is this done on purpose, or is it a limita...

Something Better than .NET Reflector?

I used to love Reflector back in the day, but ever since RedGate took over it has gone downhill dramatically. Now it forces me to update (which is absolutely ridiculous), half the time the update doesn't go smoothly, and it is increasingly hindering my productivity with each update. I am sick of it, and I am ready for something better....

Reflector and compiler genrated code

I have a dll which I disassemble in Reflector, I then generate a class. The class contains code which does not compile in Visual Studio. I take it it's leagl IL code, but how can I generate the higher level c# from this. Seems yield and IEnumerator generate things like <>1__state; in the IL which will not compile. Does anybody know ho...

If Visual Studio 2010 based on WPF, why I cannot open it with reflector?

If Visual Studio 2010 based on WPF, why I cannot open it with reflector? In other words, devenv.exe seems to be native assembly, so where is the WPF UI code? ...

Can someone please explain this lazy evaluation code?

So, this question was just asked on SO: http://stackoverflow.com/questions/2740001/how-to-handle-an-infinite-ienumerable My sample code: public static void Main(string[] args) { foreach (var item in Numbers().Take(10)) Console.WriteLine(item); Console.ReadKey(); } public static IEnumerable<int> Numbers() { int x =...

Is it possible to link a method marked with MethodImplOptions.InternalCall to its implementation?

In trying to find the possible cause of an exception, I'm following a code path using Reflector. I've got deeper and deeper, but ended up at a method call that looks like: [MethodImpl(MethodImplOptions.InternalCall)] private extern void SomeMethod(int someParameter); This markup on the method tells the framework to call a C++ function...

Reflector issue when decompiling a WPF assembly (i.e. PresentationCore, PresentationFramework).

Hi; I just downloaded the last version of Reflector from RedGate and I was unable to decompile classes in some core WPF assemblies like PresentationCore and PresentationFramework. Here is a link to a picture that describes my problem: http://997966480542455630-a-1802744773732722657-s-sites.googlegroups.com/site/badrdocs/files/Reflector...

How can I get bitmap from .resources (not .resx) file.

I have opened assembly with reflector and saved some .resources files to my hard drive. There is some bitmaps in there, how can I get them from saved .resources file? I'd like to save them as image (.bmp) file via code or some program. ...