Siegfried Pammer
9d99ee86db
Fix #2503 : Move correct branch in the case of swapped jump-table conditions.
5 years ago
Siegfried Pammer
6cc89378aa
Remove unused code.
5 years ago
Siegfried Pammer
6628e0a410
Fix #2500 : NRE and other bugs when hovering over symbol with <inheritdoc />.
5 years ago
Siegfried Pammer
47dcf0507f
#2500 : nullable enable XmlDocumentationElement
5 years ago
Siegfried Pammer
1568aeca3e
Fix #2506 : NamedArgumentTransform loses information, if the original variable is of StackType.Ref
5 years ago
Daniel Grunwald
9a053d5e6c
nullable enable for CSharpOperators.cs
5 years ago
Siegfried Pammer
19d5ea4095
Fix #2505 : Do treat whole resource name as file name without directory at the start of GetFileNameForResource.
5 years ago
Siegfried Pammer
07199e2ecf
Fix #2038 : Add proper support for Long paths on Windows 10 and limit path segments to 255 characters (with long path support) or 30 characters. If a PathTooLongException is thrown display a better error message on project export.
5 years ago
Siegfried Pammer
ed82bff896
Fix #2497 : NRE in covariant returns check on set-only property
5 years ago
Siegfried Pammer
900d0a4b93
Fix #1966 : Add option to show raw offsets and instruction bytes in IL view.
5 years ago
Siegfried Pammer
48adb52489
Show header size in IL output.
5 years ago
Siegfried Pammer
73c898664f
Fix #2484 : Private modifier incorrectly applied to interface static constructors
5 years ago
Siegfried Pammer
84704a7452
Adds support for C# 9 covariant return types in methods and getter-only properties and indexers.
5 years ago
Siegfried Pammer
84101f804a
Fix #2444 : Ambiguous implicit conversions from null literals in decompiled code
5 years ago
Christoph Wille
6e4566d224
Add back DebugSymbols to csproj
5 years ago
Christoph Wille
b95f3aa1d2
Switch release and debug to embedded debug info
5 years ago
Christoph Wille
648fe32aa0
Reproducible builds, see https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/ and https://github.com/dotnet/reproducible-builds (for Release only)
5 years ago
Siegfried Pammer
ec1b9a4ccd
Fix #2443 : do not use this()-ctor initializers by accident if base type is unknown.
5 years ago
Siegfried Pammer
8eafbb3d90
Fix #2092 : aggressively inline code in compiler-generated lambdas and expression trees.
5 years ago
Siegfried Pammer
164c8880af
#2092 : Make TransformExpressionTrees.MatchGetTypeFromHandle and TransformExpressionTrees.MatchGetContructorFromHandle use IType.FullName instead of actual IType instances, so we can better handle assemblies processed by tools like ILMerge, where there might be used multiple versions of mscorlib in one assembly.
5 years ago
Siegfried Pammer
bc5d078feb
Fix #1698 : Readonly auto properties from VB.NET are not properly decompiled
5 years ago
Siegfried Pammer
35ad7f3074
Update build tools used by ILSpy to use .NET 5.0 instead of .NET Core 3.1
5 years ago
Daniel Grunwald
ffed8ea2c8
#nullable enable for AstNode
5 years ago
Daniel Grunwald
245261a1e5
#nullable enable for Instructions.tt
5 years ago
Daniel Grunwald
bd29ed5981
Revert CSharpPrimitiveCast.cs: its used in Conversions.cs test case and thus must be compatible with old C# compiler versions
5 years ago
Daniel Grunwald
0414e7f8e9
Fix potential NRE in ILFunction.RegisterVariable()
5 years ago
Siegfried Pammer
c22977e1be
Fix #2390 : Extend variable splitting to treat stobj as immediate address use.
5 years ago
Daniel Grunwald
5fb2f7a22f
#nullable enable for ILAst (except for generated code)
5 years ago
Daniel Grunwald
b9eee606af
#nullable enable for most files in ICSharpCode.Decompiler/Util
5 years ago
Daniel Grunwald
109b6d073a
Allow detecting exit points across multiple levels of containers.
5 years ago
Daniel Grunwald
2419c2641a
StatementBuilder.TransformToForeach: allow both `break;` and `return;` within the using body
5 years ago
Daniel Grunwald
a716828065
Remove redundant code from RemoveRedundantReturn.cs
5 years ago
Siegfried Pammer
1f0f6404e0
Fix #2231 : Add support for ldloca; dup; initobj pattern used by Roslyn.
5 years ago
Daniel Grunwald
685a79dc31
DetectExitPoints: introduce exit points for loops+switch
...
This allows reverting the changes to HighLevelLoopTransform+ReduceNestingTransform from the previous commit, which fixes a bug in loop detection (the previous commit did not handle loops where the loop BlockContainer didn't have a Block as parent).
5 years ago
Daniel Grunwald
bbaddf84cc
Fix #2424 : Suppress the string==null special-case within the string class itself.
5 years ago
Siegfried Pammer
62fc4bc1a3
Fix #1858 , Fix #2188 : Remove variables that contain copies of display-class variables.
5 years ago
Daniel Grunwald
6757295b3b
Fix #2379 : Keep `return` statements around in original form for ConditionDetection, only transform to fall-through block-exit at the end of the transform pipeline.
...
This fixes an issue where `return` statements within try-blocks could turn into `goto` statements.
5 years ago
Anders Hörnfeldt
9747a2b359
Escape identifiers containing repeating dots
5 years ago
Anders Hörnfeldt
b45c0099ef
Refactor for readability
5 years ago
Siegfried Pammer
584d1847df
Fix #2405 : Assertion fail in TDCU
5 years ago
Siegfried Pammer
2d65deffda
Fix frontends.sln build.
5 years ago
Siegfried Pammer
ce199fad13
Fixed regression around foreach-on-string introduced in 16134e52e4
5 years ago
Siegfried Pammer
ba39dd5c55
Fix #2354 : decompilation of unary and binary operators with nullable value types.
5 years ago
Daniel Grunwald
715968e02a
Fix potential NullReferenceException in UniversalAssemblyResolver
5 years ago
Daniel Grunwald
7f36cc3e50
#nullable enable for UniversalAssemblyResolver
5 years ago
Daniel Grunwald
55ab2a1739
Adjust RecordDecompiler to changes in Roslyn 3.10.0
5 years ago
Daniel Grunwald
407ec6be5b
Adjust AsyncAwaitDecompiler to Roslyn 3.9.0.
5 years ago
Siegfried Pammer
c90c0786b6
Do not add readonly modifier to accessors/properties/events if TSAB.ShowModifiers is false.
5 years ago
Siegfried Pammer
0ae95333e5
Fix bug in DotNetCorePathFinder on Unix systems: realpath always returned garbage.
5 years ago
Daniel Grunwald
108c5f643e
Fix #2413 : Avoid global state in `TokenRole`.
...
We can already compactly store a `TokenRole` via the index+lookup in the `Role` base class.
The lookup in the base class is thread-safe; the one removed here was not.
5 years ago