Questions tagged [ilspy]

ILSpy is the open-source .NET assembly browser and decompiler.

ILSpy is the open-source .NET assembly browser and decompiler. ILSpy.net

79 questions
-1
votes
1 answer

Read out of bounds error when using ilspy

When using Ilspy I am getting a Read out of bounds error: System.BadImageFormatException: Read out of bounds.在 System.Reflection.Throw.OutOfBounds() 在 System.Reflection.Metadata.BlobReader.ReadInt32() How should I address this?
-2
votes
1 answer

How do I decompile a class in C#?

How do I get a class' source code inside a C# program? class Foo { string void Bar(){ return "baz"; } } Then in another file: GetSourceCode(Foo) // => class Foo { string void Bar() { return "baz": } } I was told ILSpy could do it…
-2
votes
2 answers

ILSpy - How to modify the decompiled code to look like the Github source code?

My goal is to decompile a C# libarabry and compare it to the source code of the same library in Github. I would like to research whether the given source code (after decompiling) is equal to the source code in Github. I've used ILSpy to try to…
-2
votes
1 answer

Unable to Re-compile De-compiled Code

When I open EntityFramework.BulkInsert in ILSpy and try to navigate to 'this.Provider.Context.Db' in the MappedDataReader Constructor it doesn't work. I also have the same problem if I de-compile it and try to re-compile it in VS. VS says 'CS1061…
spottedmahn
  • 14,823
  • 13
  • 108
  • 178
1 2 3 4 5
6