Daniel Grunwald
4846feb640
Add support for C# 8 range syntax.
This initial commit only handles the trivial case where an Index or Range object is constructed.
The TODO portions of the test case show there are plenty of cases where where the C# compiler emits more complex code patterns that will require ILAst transforms.
5 years ago
Siegfried Pammer
e0ee8bf286
Revert "Fix #1908 : Add option to AddXmlDocumentationTransform to remove newlines in comments"
This reverts commit 1043924366
.
6 years ago
Siegfried Pammer
1043924366
Fix #1908 : Add option to AddXmlDocumentationTransform to remove newlines in comments
6 years ago
Siegfried Pammer
407c337168
Add ForStatement, DoWhileStatement and SeparateLocalVariableDeclarations settings.
6 years ago
Daniel Grunwald
703d21bafa
Support C# 7.3 pattern-based fixed statement.
6 years ago
SilverFox
22daaa3572
Enable static local functions and update related tests, since roslyn 3.4.0-beta3 is available for tests
6 years ago
SilverFox
74dec0f7fb
Disable static local functions until tests is fixed
6 years ago
SilverFox
6409fe945c
Add support for static local function
6 years ago
Siegfried Pammer
c7f98a4db7
Add support for await using statements.
6 years ago
Daniel Grunwald
f8ee7c2bf3
Initial support for `async IAsyncEnumerator<T>` methods
6 years ago
Daniel Grunwald
8f90f3834d
Implement support for C# 8 readonly members.
6 years ago
Siegfried Pammer
51b48b9332
Fix #1685 : Add "Always show enum values" setting.
6 years ago
Siegfried Pammer
047f119e99
Add RemoveDeadStores option
6 years ago
Siegfried Pammer
537df7bab3
Add option: 'ref' extension methods
6 years ago
Siegfried Pammer
0719aa9f08
Enable DecompilerSettings.IntroduceLocalFunctions
6 years ago
Siegfried Pammer
bd77b8301f
Basic implementation of local functions.
6 years ago
Siegfried Pammer
62c4635cb8
Add DecompilerSettings.ThrowExpressions
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
56447a944f
Fix #1468 : Implement 'Expand using declarations after decompilation' setting.
6 years ago
Siegfried Pammer
535814cce4
Remove 'Custom' language version. Unify language settings panels.
6 years ago
Siegfried Pammer
e9370f057c
Rework C# decompiler options dialog.
6 years ago
Daniel Grunwald
3806610d0a
GetMinimumRequiredVersion(): Add case for C# 8.0
6 years ago
Siegfried Pammer
859eb623b8
Fix #1439 : Add DecompilerSettings.UseLambdaSyntax
7 years ago
Daniel Grunwald
2f35374d7d
Support "where T : unmanaged" constraints.
7 years ago
Siegfried Pammer
f9b54187a9
#1049 : Remove AlwaysGenerateExceptionVariableForCatchBlocks from DecompilerSettings.
7 years ago
Daniel Grunwald
7a058f6262
First attempt at integrating C# nullable reference types into the type system.
7 years ago
Siegfried Pammer
3f4ffd64f8
Set DelayExceptions = true in ILReader for get/set operations on multi-dim arrays.
7 years ago
Siegfried Pammer
fac1a4d115
Fix #1311 : Methods in .winmd files compiled from C# don't show up in individual method view in ILSpy 4.
Add an option to disable application of WinRT projections.
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
057ab82534
Add basic stackalloc initializer transforms.
7 years ago
Siegfried Pammer
7ef7f1870e
Refactor TS representation of ref / readonly structs. Add support for in parameters.
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
Siegfried Pammer
3377e93628
Add LangVersion support to WholeProjectDecompiler and add NonTrailingNamedArguments setting.
7 years ago
Siegfried Pammer
4776331277
Add DecompilerSettings.OptionalArguments
7 years ago
Siegfried Pammer
71ffb0183b
Fix #1103 : Deactivating "Insert using declarations" now uses fully qualified types everywhere.
7 years ago
Siegfried Pammer
cf8bee2c01
Fix translation of generic and extension 'Add' methods in collection initializers.
7 years ago
Siegfried Pammer
023282a50d
#1180 : Add IsWindowsFormsInitializeComponentMethod and disable some transforms when processing a Windows Forms InitializeComponent method.
7 years ago
Daniel Grunwald
629e586b25
C# 2.0 mode now disables extension methods.
7 years ago
Siegfried Pammer
7c2e1fca35
Turn off implicit method group conversions, if C# 1.0 is selected.
7 years ago
Siegfried Pammer
d6e13686aa
Remove DynamiceExpressions setting (use Dynamic setting instead)
7 years ago
Daniel Grunwald
810adea8b4
#1083 : Initial implementation of named arguments.
7 years ago
Daniel Grunwald
bcc1586f72
ILAst transform for named arguments.
7 years ago
Siegfried Pammer
84f5e057d3
Add DynamicInstruction
7 years ago
Daniel Grunwald
395bc185a3
Decompile TupleElementNamesAttribute into tuple type syntax.
7 years ago
Siegfried Pammer
ceb4e3eed0
Add C# 7.3 to language version dropdown.
7 years ago
Daniel Grunwald
a46ac9dc84
Also combine 'ldlen; conv.i4.ovf' to 'ldlen.i4'.
The VB compiler emits overflow checks when accessing the array length. (#1097 )
7 years ago
Siegfried Pammer
40659a2283
Add minimal support for C# 7 discards in out var declarations.
8 years ago
Siegfried Pammer
3dcc388e99
#894 : Transform IsByRefLikeAttribute and IsReadOnlyAttribute on structs to ref and readonly modifiers, respectively. Remove ObsoleteAttribute.
8 years ago
Daniel Grunwald
19e840856f
Use out variable declarations where possible.
8 years ago