dymanoid
fdef5d11c6
Rearrange project writing logic
...
The WholeProjectDecompiler shall not have too many responsibilities.
5 years ago
dymanoid
a952cda502
Create dedicated namespace for project decompiler
5 years ago
Siegfried Pammer
6382f8c41d
Fix #1990 : Empty default ctor with XML comment discarded from decompilation
5 years ago
Daniel Grunwald
12226c5f90
Add support for indexing a container with a System.Index instance.
5 years ago
Daniel Grunwald
dc6e094a30
Add support for indexing arrays using System.Index
5 years ago
Daniel Grunwald
0cf50aa827
Fix #1959 : Resolve the "F(G<A,B>(7));" grammar ambiguity by inserting parentheses when necessary.
5 years ago
Christoph Wille
ed7af2addb
Windows: keep using Windows PowerShell, other OSs fall back on pwsh (to reduce deps to get up and running on Windows)
5 years ago
Christoph Wille
55a6f9184f
Use PowerShell Core for running update-assemblyinfo.ps1
5 years ago
Siegfried Pammer
5d622056a1
Add TranslatedStatement: require that C# statements must be annotated with their corresponding ILInstructions.
5 years ago
Siegfried Pammer
2efca22fae
Add Debug Metadata Explorer
5 years ago
Christoph Wille
4348d664ea
Year adjustments where static (2020)
6 years ago
Christoph Wille
83e7996087
Update SourceLink. Fixes #1826
6 years ago
Siegfried Pammer
270547cb46
Fix release build.
6 years ago
Siegfried Pammer
cefefd0e6d
create AwaitInFinallyTransform.cs from AwaitInCatchTransform.cs
6 years ago
Siegfried Pammer
4e5a2c4a6a
Replace AXmlParser with XLinq.
6 years ago
Christoph Wille
7de25bc4b5
Change target name to using BeforeTargets
6 years ago
Christoph Wille
5388a18c46
Remove old hacks for decompiler csproj
6 years ago
Siegfried Pammer
9190515d8b
#1151 : Support for ref readonly locals.
6 years ago
Christoph Wille
9e76f2b28c
Use SourceLink instead of EmbedAllSources
6 years ago
Siegfried Pammer
7539a429c6
Port rich text tooltips from SharpDevelop to ILSpy.
6 years ago
Daniel Grunwald
4bc15e0911
Fix build.
...
Visual Studio really ought to save project changes sooner...
6 years ago
Siegfried Pammer
7fb3c51326
Suppress warnings in release mode as well, to speed up build process.
6 years ago
Daniel Grunwald
539e3a906d
Fix #1552 : user-defined and decimal increments
...
For user-defined increments, there were problems with Roslyn was optimizing out one of the stores.
The new transform FixRemainingIncrements now takes increments/decrements that were not detected by TransformAssignment and introduces a temporary variable that can be incremented.
This sometimes requires un-inlining via the new ILInstruction.Extract() operation.
Extract() is not supported in all possible contexts, so it is possible but unlikely that some op_Increment calls remain.
For decimals, the situation is different: legacy csc actually was optimizing "d + 1m" to "op_Increment(d)", so we can get rid of any left-over increments by undoing this optimization. This now happens in ReplaceMethodCallsWithOperators.
6 years ago
Siegfried Pammer
a63e94e5b4
Refactor Solution decompilation to use Language instead of AssemblyTreeNode.
6 years ago
Siegfried Pammer
37e14f43e3
Refactor/Clean up local functions representation in type system.
6 years ago
Daniel Grunwald
fb2cbf3d62
Use <GenerateDocumentationFile> instead of specifying the file name.
6 years ago
Daniel Grunwald
ccdabf2325
Fix a bunch of XmlDoc compiler warnings.
6 years ago
Christoph Wille
268d0af4e0
Include documentation XML in NuGet package (similar to PR https://github.com/icsharpcode/ILSpy/pull/1432 but built for v5.0)
6 years ago
Siegfried Pammer
8d1522f387
Transform display classes used in local functions.
6 years ago
Siegfried Pammer
5a2302089b
Refactor TransformDisplayClassUsage into separate transform.
...
Make display class detection pattern-based instead of name-based. Fixes #1554
6 years ago
Siegfried Pammer
bd77b8301f
Basic implementation of local functions.
6 years ago
dymanoid
5e6a261b86
Implement Visual Studio solution generation for icsharpcode#972
6 years ago
Siegfried Pammer
2e68ec6c68
Move all resources to ILSpy: We do not want to ship resources inside the decompiler engine assembly.
6 years ago
MysticBoy
04686b2ada
Translated the ICSharpCode.Decompiler‘s options and other
6 years ago
Siegfried Pammer
d83f6e6ec0
Remove unused code.
6 years ago
Siegfried Pammer
d42cf99a8c
Fix dynamic transforms because https://github.com/dotnet/roslyn/issues/27800 was fixed.
6 years ago
Siegfried Pammer
c1fca21e8a
Make ILRange field private - introduce public API for IL range manipulation.
6 years ago
Daniel Grunwald
f1c8142ce2
PDB generator now can emit "method stepping information" for async functions.
6 years ago
Daniel Grunwald
7a058f6262
First attempt at integrating C# nullable reference types into the type system.
6 years ago
Christoph Wille
29e05778c6
See #1416 . Also upgraded Cecil to .3 (from .1)
6 years ago
Siegfried Pammer
008a3c71e5
DelegateConstruction:
...
- add support for unknown delegate construction pattern. The method is compiler-generated, but has no compiler-generated name, we should be able to infer lambda usage from anonymous types used in the signature (i. e., the method can only be used as lambda, because that's where type names are optional).
- Add CombineExitsTransform in DelegateConstruction: this allows combining lambdas with multiple return statements into a single expression (as it is expected by query expressions).
7 years ago
Daniel Grunwald
ef866040b4
Update to SRM 1.6.0 and Roslyn 2.9. Adjust decompiler to new code pattern used for lifted nullable comparisons.
7 years ago
Chicken-Bones
ab9397d099
Add ReduceNestingTransform
7 years ago
Siegfried Pammer
cf1d05042f
Add detection of local functions, so we do not hide the methods/display classes.
7 years ago
Siegfried Pammer
23907c8d7d
Use IAmbience API in CSharpLanguage.
7 years ago
Siegfried Pammer
b58c356222
Extend StackAllocExpression: Add support for initializers.
7 years ago
Siegfried Pammer
0fc5c8b988
Add support for FormattableString patterns.
7 years ago
Andrey Shchekin
d677f0dcf1
Fixed thread safety issues as per code review comments.
7 years ago
Andrey Shchekin
d15fe0f254
Fixed bug with decimal optional parameters not being resolved correctly.
...
Added option to uglify presentation of decimal constants (show `[DecimalConstant(...)]`).
7 years ago
Daniel Grunwald
9479e8af13
Support overloaded operator &&/||.
7 years ago