David Srbecký
aeeda32d10
Return instruction pops zero or one item instead of all.
...
Exception of catch block does not have to be consumed.
Related to #185
14 years ago
David Srbecký
3b692d9c7c
Ignore arguments of 'leave'. Closes #185
14 years ago
Daniel Grunwald
fdb8001b87
Explicitly trigger garbage collection after an assembly was unloaded. Closes #246 .
14 years ago
Daniel Grunwald
fe121acdb9
Fix #230 : Search and Analyze window don't update
14 years ago
Siegfried Pammer
beff26761e
fix #167 - Incorrect decompilation of null as extension method this parameter
14 years ago
Daniel Grunwald
17a75ded4e
Fix #211 InvalidCastException in ILAstOptimizer.TransformArrayInitializers
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
David Srbecký
822e473df3
Replace endfinally with jump. Closes #232
15 years ago
Daniel Grunwald
3020bc9ce8
Fixed type analysis for right shift operator.
15 years ago
Daniel Grunwald
43b4339bea
Simplify shift operators (<< and >>).
...
Based on patch by Pent Ploompuu.
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
Siegfried Pammer
3fdfe1585a
fix #231
15 years ago
Siegfried Pammer
443a312901
fix #227 and #229
15 years ago
Siegfried Pammer
fe7fdec28b
display a message if navigation is not possible; fixes #237
15 years ago
Siegfried Pammer
80ed40e6a7
move the focus to the previous node after deletion
15 years ago
Siegfried Pammer
f4504ab36e
move NodesCollection to a separate file
15 years ago
Daniel Grunwald
8beed6aa70
Fixed type inference for shift operators. Closes #239 .
15 years ago
Siegfried Pammer
0eb3aabc72
use generic enumerator
15 years ago
Siegfried Pammer
4b1622e55e
fix wrong declaration info in KnownInfo
15 years ago
Siegfried Pammer
fa638010a9
some minor cleanup
15 years ago
Siegfried Pammer
b8fd7b4d99
fixed static resource handling
15 years ago
Siegfried Pammer
c572835c9e
fixed InvalidCastException when trying to read optimized static resource
15 years ago
Siegfried Pammer
19a8087be0
add support for nested classes in type system - fix missing Win32Native.Color
15 years ago
Siegfried Pammer
891f8a4f62
remove some classes from BAML decompiler, that are no longer needed
15 years ago
Daniel Grunwald
2783b02007
Fix #241 : type analysis causes truncation of integer literals when calculating with types smaller than int32.
15 years ago
Daniel Grunwald
a318ce67be
Cache assembly lookup results - improves performance (especially for failed lookups)
15 years ago
Daniel Grunwald
6c94092dc5
Fixed ILAstOptimizer.CanBeExpressionStatement to include more types of assignments.
...
Fixed TypeAnalysis.IsEnum so that arrays of enums are not considered to be enums.
15 years ago
Alex Lyman
ed6380077f
- Reverted changes to display decimal.MinValue and decimal.MaxValue
...
- Altered InitializerTests to use constant literals instead of decimal.MinValue and decimal.MaxValue
15 years ago
Alex Lyman
e484d35fe2
- Altered the InitializerPeepholeTransforms' ArrayInitializer forward-scan to only look at the next instruction: in practice, CSC does not seem to generate code that needs anything more, and there are some questions as to the validity of the looping itself (i.e. what if there is a branch between them?
...
- Added another test to the InitializerTests, to validate that it handles deeper multi-dimensional arrays (I went 3x3x3 for simplicity)
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
Alex Lyman
8dcea0b27b
- Made the InitializerTests pass, through three changes:
...
* Added new-lines as needed to make the source formatting match what the actual output was.
* Added code to CodeAssert to make it ignore #regions
* Added code to output decimal.MinValue and decimal.MaxValue as appropriate
15 years ago
Daniel Grunwald
65f5427ae6
Fix #162 Opening a file that's not a valid assembly displays exception stack trace
15 years ago
Daniel Grunwald
7789284161
Fix #74 Jumping to other type doesn't scroll the tree
15 years ago
Daniel Grunwald
fde6361995
Fixed missing XML documentation on enum members.
15 years ago
Ed Harvey
50e8fbc48e
Incorrect icon for const decimal fields. Closes #218
15 years ago
Ed Harvey
8ba9cba665
Removed redundant 'view->analyze' menu entry. (issue #216 )
15 years ago
Siegfried Pammer
72a1b71f82
reactivate code that turns complex properties into markup extensions if possible
15 years ago
Siegfried Pammer
2c6e34ef07
decompile Name attributes on type of current assembly to x:Name
15 years ago
Siegfried Pammer
a75e2a3c96
add ConnectMethodDecompiler
15 years ago
Siegfried Pammer
11b4f4babd
read connection ids as x:ConnectionId from binary stream
15 years ago
Siegfried Pammer
604d43076e
implement correct handling of Keys; add more unit tests
15 years ago
Siegfried Pammer
5ef8af1346
add more unit tests; use current type instead of declaring type for PropertyElements
15 years ago
Siegfried Pammer
b515326b74
reimplemented reading of keys
15 years ago
Siegfried Pammer
e0932a6860
implement detection of implicit elements and static resources
15 years ago
Siegfried Pammer
b9dd30a0ec
add ignored test for special cases with ResourceDictionaries; remove unneeded private modifier
15 years ago
Daniel Grunwald
9376ece056
Fixed references to enum values nested within generic types.
15 years ago
Daniel Grunwald
6daf7cb6bc
Fix some compiler warnings.
15 years ago
David Srbecký
6fd28e8b6e
Remove unreachable return statements. Closes #174 . Closes #192
15 years ago
David Srbecký
c31f9232c5
Do not fall though the end of try-block. It should never happen in valid IL, but some obfuscators generate such code. Closes #164
15 years ago