ILSpy icon indicating copy to clipboard operation
ILSpy copied to clipboard

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!

Results 203 ILSpy issues
Sort by recently updated
recently updated
newest added

the AssemblyInfo info in the decompiled app contains these attrs: ``` [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [Assembly: CompilationRelaxations(8)] [Assembly: RuntimeCompatibility(WrapNonExceptionThrows:=True)] ``` Which cause troubles when debugging the app as if the app is...

Decompiler
C#
Enhancement

We need tests for PDBGen: These could be similar to existing IL pretty tests: 1) Take IL and fixed list of sequence points 2) Decompile + Generate PDB 3) Compare...

Decompiler
PDBGen

version: 6.2.1.6137 ![image](https://user-images.githubusercontent.com/12094247/102040920-10a7eb00-3e09-11eb-85e1-ada5f9dc1909.png)

Enhancement

i think is not possible to search all class that have a single object as a var something like ``` class ABC { } class foo { var xyz :...

Enhancement

In the fix for #580 no option was provided to revert to the old behaviour which I much prefer. Showing base types hierarchically allows you to examine the inheritance hierarchy...

Enhancement

C++/CLI code may use managed references in ways more flexible than C#. In such cases, the decompiler could use [System.Runtime.CompilerServices.Unsafe](https://github.com/dotnet/runtime/blob/master/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.il) method calls to represent the missing operations. The Unsafe class...

C++/CLI

I hope provide a easy way to switch int format, like toolbar/context menu. Thanks.

Enhancement

[1.zip](https://github.com/icsharpcode/ILSpy/files/5431667/1.zip) Such as `Program.Main` `LoginForm.smethod_0`

Bug
Decompiler

DebugInfoGenerator.HandleMethodBody assert failure. `function`is a getter. `function.Variables` = 2. In the assert, `v.Type` = `System.Byte*`. `types[v.Index.Value]` is `System.Byte& pinned`. The decompiler itself handles this case, suggesting the fix could be...

Bug
Decompiler
PDBGen

### Input code ```` #nullable enable class Sample { [AllowNull] public string MyProperty { get; set; } } ```` ### Erroneous output ````csharp using System.Diagnostics.CodeAnalysis; internal class Sample { public...

Bug
Decompiler