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
Daniel Grunwald
9376ece056
Fixed references to enum values nested within generic types.
15 years ago
Daniel Grunwald
c339b9270a
Fix crash in disassembler and decompiler when HasPInvokeInfo=true but PInvokeInfo=null (occurs with unmanaged methods in C++/CLI assemblies)
15 years ago
Daniel Grunwald
e8b6e3d808
Annotate anonymous methods/lambdas with the MethodDefinition representing the lambda body.
15 years ago
Pent Ploompuu
f525e42a57
Fix variable naming bug that was introduced together with cle/cge virtual opcodes
15 years ago
Pent Ploompuu
a3465b239f
Remove redundant parentheses during PushNegation transform
15 years ago
Daniel Grunwald
e0c7bebfe8
Add license headers to the files that were missing them.
15 years ago
Pent Ploompuu
af155c788e
Type analysis support for operators on nullable values
15 years ago
Pent Ploompuu
cb174caab3
Negation of operators on nullable values is not allowed for correct decompilation
15 years ago
Siegfried Pammer
111a6ca292
do not use primitive type names in TreeNodes; fixes #183
15 years ago
Pent Ploompuu
fec24cf171
Improved decompilation correctness for operators on nullable values
15 years ago
Siegfried Pammer
f86fa5d1dd
implement support for op_True and extend unit test
15 years ago
Daniel Grunwald
229218174f
Inlining: remove the arg_-Variable in catch blocks.
15 years ago
Daniel Grunwald
7d24f683d1
Decompile AssemblyVersion attribute. Closes #188 .
15 years ago
Daniel Grunwald
3779381796
Add support for type forwarding declarations ([TypeForwardedToAttribute]). Closes #190 .
15 years ago
Daniel Grunwald
32081feb1b
Decompile security declarations. Closes #189 .
15 years ago
Daniel Grunwald
2d42dd5c57
Fixed several issues related to [MarshalAs] attributes.
15 years ago
Daniel Grunwald
ae873ec18f
Fixed decompilation of anonymous methods created by the VB compiler. Closes #127 .
15 years ago
Daniel Grunwald
3833643aaf
Fixed issues with detection of using statements.
15 years ago
Daniel Grunwald
5c08e10a07
Fixed incorrect detection of the 'using' statement pattern when the code was assigning to the using variable. Closes #121 .
15 years ago
Daniel Grunwald
4abc650ecd
Fix NullReferenceException in TrransformSwitchOnString. Closes #95 .
15 years ago
Daniel Grunwald
e2794252fb
When decompiling a field, also decompile constructors to check whether there's an initializer on the field.
...
When decompiling a constructor, display field initializers outside of the constructor.
Closes #3 .
15 years ago
Daniel Grunwald
b01fe1b427
Fixed NullReferenceException when decompiling "typeof(List<int>[])".
15 years ago
Siegfried Pammer
439de223bf
implement proper fix for #179 + add unit test
15 years ago
Siegfried Pammer
e9eca059d5
remove isLastLine from interface - use stack instead; fix null reference if resolve of TypeDefinition fails
15 years ago
Daniel Grunwald
faf3a29a08
Fixed position of XML comments on nested types.
15 years ago
Daniel Grunwald
4ec92d9a55
Handle cpobj instruction as stobj(ldobj).
15 years ago
Daniel Grunwald
30fe30c236
Fix DecimalConstantTransform.
15 years ago
Daniel Grunwald
508073d6ac
Applied some of the optimizations suggested by Kris Vandermotten. #150
15 years ago
Siegfried Pammer
8c228a4df1
fix bug when printing type names introduced by commit 51fc2f10cc
15 years ago
Siegfried Pammer
ba0b80856c
add foldings to documentation comments; closes #165
15 years ago
Siegfried Pammer
51fc2f10cc
Look for generic type parameters defined in TypeDefinition, allows us to display angle brackets in unbound type names, e.g., typeof(List<>) fixes #179
15 years ago
Eusebiu Marcu
c81abc97ab
add current column in the node annotation tuple
15 years ago
Siegfried Pammer
184a6fc4f0
replace file header in some files
15 years ago
Siegfried Pammer
975be57b62
implement DecimalConstantTransform closes #184
15 years ago
Eusebiu Marcu
6cbd5519ff
Use AttributedNode;
...
Fix enums
15 years ago