Questions tagged [reflector]

.NET Reflector® is a proprietary software utility for Microsoft .NET combining class browsing, static analysis and decompilation, originally written by Lutz Roeder. Red Gate acquired it in 2011 and have since added live debugging of assemblies without requiring original source!

.NET Reflector® was the first .NET assembly browser. It can be used to inspect, navigate, search, analyze, and browse the contents of a .NET component such as an assembly and translates the binary information to a human-readable form.

By default Reflector allows decompilation of .NET assemblies into C#, Visual Basic .NET, Common Intermediate Language and F# (alpha version). Reflector also includes a "Call Tree", that can be used to drill down into IL methods to see what other methods they call. It will show the metadata, resources and XML documentation.

.NET Reflector can be used by .NET developers to understand the inner workings of code libraries, to show the differences between two versions of the same assembly, and how the various parts of a .NET application interact with each other. There are a large number of addins for Reflector.

Though a variety of competitors have come along, Reflector took a quantum leap forward by being the first to provide not just examination of assemblies but live debugging of assemblies with a Visual Studio plugin.

239 questions
419
votes
10 answers

Open Source Alternatives to Reflector?

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. Note, if you know of a free but not open source alternative to Reflector, you can…
MagicAndi
  • 42,295
  • 24
  • 76
  • 109
368
votes
9 answers

Something better than .NET Reflector?

I used to love .NET Reflector back in the day, but ever since Red Gate Software 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…
Josh Stodola
  • 77,975
  • 43
  • 178
  • 222
79
votes
2 answers

Is there a “free” alternative to .NET Reflector?

Possible Duplicate: Something Better than .NET Reflector? Possible Duplicate: Open Source Alternatives to Reflector? I don't consider this to be a duplicate, as the contact of the other questions is about learning how reflector works, and this…
Ian Ringrose
  • 49,271
  • 50
  • 203
  • 302
79
votes
13 answers

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…
TalkingCode
  • 12,759
  • 27
  • 96
  • 141
73
votes
6 answers

Why check this != null?

Occasionally I like to spend some time looking at the .NET code just to see how things are implemented behind the scenes. I stumbled upon this gem while looking at the String.Equals method via…
Brian Gideon
  • 45,093
  • 12
  • 98
  • 145
70
votes
12 answers

How do you find all implementations of an interface?

Suppose you have an interface defined in C#. What is the easiest method to find all classes that provide an implementation of the interface? The brute force method would be to use "Find References" in Visual Studio and manually look through the…
iammichael
  • 8,167
  • 3
  • 30
  • 41
39
votes
6 answers

C# reflection and finding all references

Given a DLL file, I'd like to be able to find all the calls to a method within that DLL file. How can I do this? Essentially, how can I do programmatically what Visual Studio already does? I don't want to use a tool like .NET Reflector to do this,…
user420667
  • 6,022
  • 14
  • 47
  • 81
34
votes
2 answers

Why does Console.Out.WriteLine exist?

Actually the question should be why does Console.WriteLine exist just to be a wrapper for Console.Out.WriteLine I found this little method using intellisense, then opened .NET reflector and 'decompiled' the code for the Console.WriteLine method and…
Kredns
  • 34,183
  • 49
  • 147
  • 200
24
votes
4 answers

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

Is it possible to use .NET Reflector (or an other tool) to modify and recompile the code quickly (that is, without dumping the source and then use Visual Studio to recompile it)?
sthiers
  • 3,371
  • 5
  • 31
  • 45
18
votes
6 answers

.NET Reflector for Mono

Is there an equivalent of .NET Reflector for Mono? Quick googling did not find anything... Or can I run Reflector on Mono (say, in Mac OS X)?
zvolkov
  • 17,762
  • 8
  • 65
  • 78
14
votes
3 answers

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…
Kye
  • 5,268
  • 9
  • 42
  • 79
14
votes
4 answers

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?
Jack Kada
  • 22,354
  • 29
  • 75
  • 103
14
votes
6 answers

Modify Compiled .Net Exe

I have an application written in C# (without the source of course), that needs to be changed a little bit. For example, I need to stop a few lines of code that create an unnecessary menu. So I think I should comment them out. The source code is not…
Delphi.Boy
  • 1,100
  • 2
  • 14
  • 36
14
votes
9 answers

What do you use to protect your .NET code from reverse engineering?

For a while we were using a tool called CodeVeil. I'm just wondering if there are better alternatives out there. Edit: Before more people misunderstand the question, I'm aware that a determined cracker would probably be able to defeat any of these…
ilitirit
  • 14,969
  • 17
  • 68
  • 105
13
votes
2 answers

What is the ampersand character at the end of an object type?

I had to de-compile some code and I don't know what this syntax is? Can y'all help, or point me to a write-up about what it is? I've Googled and searched this site and can't find anything. Just one line of code: Rectangle pageBounds; // ISSUE:…
ganders
  • 6,935
  • 13
  • 61
  • 109
1
2 3
15 16