Daniel Grunwald
2e74e3f762
Fixed issue in AddCheckedBlocks that could cause variable declarations to be omitted or placed incorrectly.
14 years ago
Jb Evain
51430bccb2
Annotate struct creations with the Cecil constructor reference
14 years ago
Daniel Grunwald
49c92cfba8
Adjust ILSpy to new NRefactory version.
14 years ago
David Srbecký
774e3cd8ca
If switch cases contain values other then 0 and 1, force the condition to be non-boolean
14 years ago
Daniel Grunwald
59db5876ee
Decompile 'volatile' modifier.
14 years ago
Daniel Grunwald
b6ba673a2d
Implemented Expression Tree decompilation. Closes #175 .
14 years ago
Eusebiu Marcu
50dc19d0d2
fix navigation on fields.
14 years ago
Daniel Grunwald
2e387958db
Add support for more language constructs to the ExpressionTreeConverter.
14 years ago
Daniel Grunwald
7e35c705b6
Initial implementation of Expression Tree Decompilation ( #175 )
14 years ago
Eusebiu Marcu
38b404a709
fix icon margin.
14 years ago
Daniel Grunwald
70d1693e91
Fix #255 InvalidOperationException: The new node 'CheckedExpression' is not valid in the role Initializer
14 years ago
Eusebiu Marcu
ab9a80cadd
Modify code-mappings API and icon margin.
15 years ago
Artur Zgodziński
a63302a0cb
Folding using declarations
15 years ago
Artur Zgodziński
f8ee8ae828
simplified switch sections by removing redundant blocks.
15 years ago
Artur Zgodziński
31b1a2dac9
Highlighting goto references.
15 years ago
Artur Zgodziński
5853758846
Fixed highlighting of variable declaration with empty initializer.
15 years ago
Daniel Grunwald
c28f6455d8
Anonymous type create expressions: when all names can be inferred from the initializers, don't create NamedExpressions.
15 years ago
Daniel Grunwald
6d22ff99ad
Sort custom attributes - the C# compiler seems to add these in random order, so by sorting them we eliminate unnecessary differences when comparing multiple versions of an assembly.
15 years ago
Daniel Grunwald
56c75e09b2
Refactored handling of debug mapping in the decompiler: we now avoid using a side-channel for the debug info and instead return it via the ITextOutput.
15 years ago
Daniel Grunwald
9db07b54c5
Adjust decompiler to NRefactory changes.
15 years ago
Daniel Grunwald
81bb822fdb
Adjust ILSpy to NRefactory changes.
15 years ago
Daniel Grunwald
fc58b40400
Fixed decompilation of WinRT classes (methods implementing interfaces were misdetected as explicit interface implementations)
15 years ago
Daniel Grunwald
eba7aa2ca2
Normalize line endings to LF.
15 years ago
Daniel Grunwald
0cdaf3bec4
Ensure the value parameter of a property setter is called 'value'.
15 years ago
Pent Ploompuu
7c3fd3afda
Use annotations to mark lifted operators that can't be transformed by PushNegation
15 years ago
jbevain
96c7204789
Annotate VariableInitializers with ILVariable when possible
15 years ago
Daniel Grunwald
5463a70fe4
Decompile [ComImport] attribute.
15 years ago
Daniel Grunwald
baa4af92c1
Don't use field initializer syntax when the RHS of the assignment contains "this".
15 years ago
jbevain
d55a61772a
Annotate properties and events with the original method reference too
15 years ago
Daniel Grunwald
f39f7c3d63
Use 'ref', not 'out', for passing arguments to a method parameter declared as "[In, Out] ref".
15 years ago
Pent Ploompuu
66fde6d0ee
Compound assignment support for overloaded operators
15 years ago
Pent Ploompuu
ee0f43ad38
Compound assignment support for lifted operators
15 years ago
Pent Ploompuu
0e993afe58
Add an annotation to redundant ParenthesizedExpressions for PushNegation transform
15 years ago
Eusebiu Marcu
b394749f47
create a new TextOutputLocation class for storing the location in the output text instead of Tuple<int, int>
15 years ago
Siegfried Pammer
3e009aaa1b
add folding
15 years ago
Siegfried Pammer
f4d29b2f2b
add AlwaysGenerateExceptionVariableForCatchBlocks setting to avoid Catch clauses without a variable; disable C#'s query expression translation
15 years ago
Siegfried Pammer
beff26761e
fix #167 - Incorrect decompilation of null as extension method this parameter
15 years ago
Siegfried Pammer
4c4374cc8c
add IntroduceIncrementAndDecrement setting for VB
15 years ago
Pent Ploompuu
26d903efd5
Test case for operator "is" on reference types with result used as a boolean.
15 years ago
Pent Ploompuu
3d7d36f360
Fixed "is" operator regression caused by SimplifyLogicNot
15 years ago
Daniel Grunwald
3fad5cb76b
Fix #249 : Object Initializer not detected for value types
15 years ago
Daniel Grunwald
5c2f3633a0
Don't use variable name from .pdb file if it isn't a valid C# identifier.
15 years ago
Pent Ploompuu
587c36bea2
Type analysis support for the remaining lifted operators
15 years ago
Pent Ploompuu
458571f750
Fix op_ExclusiveOr AST transform
15 years ago
Siegfried Pammer
2a45819408
implement ArrayCreateExpression and CastExpression
15 years ago
Daniel Grunwald
b9109469af
Fixed bug that could cause variable names to be used twice, resulting in a crash in DeclareVariable step. Closes #222 .
15 years ago
Alex Lyman
9faee0ad8d
- Modified the InitializerPeepholeTransforms' Array Initializers to do a forward scan of the block instead of just checking the next instruction. The next-instruction thing breaks down under the case where you have an array-of-arrays (int[][])
...
- Added to the InitializerPeepholeTransforms' Array Initializers to detect the creation of a multi-dimensional array (int[,])
- Modified the ILCode.InitArray contract to take an ArrayType instead of just the element type, and passing with the ArrayType.Dimensions set accordingly.
- AstMethodBodyBuilder now used the ArrayType.Dimensions info to build a tree of ArrayInitializerExpressions from the raw, element-by-element list.
- Fixed OutputVisitor not calling StartNode for EmptyExpressions
Known issues:
- ArrayCreateExpression outputs extra space in the array specifier when using EmptyExpressions, ala: "new int[][, ]"
- The tree of ArrayInitializerExpressions outputs with blank lines before and after each block.
15 years ago
Daniel Grunwald
fde6361995
Fixed missing XML documentation on enum members.
15 years ago
Artur Zgodziński
c42bf520b8
Highlighting references to clicked variable or parameter.
15 years ago
Daniel Grunwald
4f5fb6c140
Fixed references to enum values nested within generic types.
15 years ago