Daniel Grunwald
a318ce67be
Cache assembly lookup results - improves performance (especially for failed lookups)
14 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.
14 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
14 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)
14 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.
14 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
14 years ago
Daniel Grunwald
65f5427ae6
Fix #162 Opening a file that's not a valid assembly displays exception stack trace
14 years ago
Daniel Grunwald
7789284161
Fix #74 Jumping to other type doesn't scroll the tree
14 years ago
Daniel Grunwald
fde6361995
Fixed missing XML documentation on enum members.
14 years ago
Ed Harvey
50e8fbc48e
Incorrect icon for const decimal fields. Closes #218
14 years ago
Ed Harvey
8ba9cba665
Removed redundant 'view->analyze' menu entry. (issue #216 )
14 years ago
Siegfried Pammer
72a1b71f82
reactivate code that turns complex properties into markup extensions if possible
14 years ago
Siegfried Pammer
2c6e34ef07
decompile Name attributes on type of current assembly to x:Name
14 years ago
Siegfried Pammer
a75e2a3c96
add ConnectMethodDecompiler
14 years ago
Siegfried Pammer
11b4f4babd
read connection ids as x:ConnectionId from binary stream
14 years ago
Siegfried Pammer
604d43076e
implement correct handling of Keys; add more unit tests
14 years ago
Siegfried Pammer
5ef8af1346
add more unit tests; use current type instead of declaring type for PropertyElements
14 years ago
Siegfried Pammer
b515326b74
reimplemented reading of keys
14 years ago
Siegfried Pammer
e0932a6860
implement detection of implicit elements and static resources
14 years ago
Siegfried Pammer
b9dd30a0ec
add ignored test for special cases with ResourceDictionaries; remove unneeded private modifier
14 years ago
Daniel Grunwald
9376ece056
Fixed references to enum values nested within generic types.
14 years ago
Daniel Grunwald
6daf7cb6bc
Fix some compiler warnings.
14 years ago
David Srbecký
6fd28e8b6e
Remove unreachable return statements. Closes #174 . Closes #192
14 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
14 years ago
Daniel Grunwald
64f409ad28
Remove duplicate references in BamlDecompiler.Tests.
14 years ago
Daniel Grunwald
df94edc2d4
Fix InvalidCastException when hovering over a type reference.
14 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)
14 years ago
Daniel Grunwald
f2c001ab55
Show .NET runtime version.
14 years ago
Daniel Grunwald
8b611e50a4
Show architecture of assembly being decompiled.
14 years ago
Daniel Grunwald
54cf43a1e1
Fix build.
14 years ago
Ed Harvey
60cf22a48c
Move Languages collection to separate file.
14 years ago
Ed Harvey
27461a9717
Move all *Language classes to subfolder.
14 years ago
Ed Harvey
1ca1caef54
Split ShowAnalyzerCommand into separate file.
14 years ago
Ed Harvey
bf5ddabfc6
Move IPane to separate file.
14 years ago
Ed Harvey
7ddf11ef75
Move classes to separate files & organize command functionality under one folder.
14 years ago
Ed Harvey
83b565ac7d
Merge branch 'master' of https://github.com/icsharpcode/ILSpy
14 years ago
Ed Harvey
e32c170ec4
Move classes to separate files.
14 years ago
Siegfried Pammer
9af1c54fe2
add simple unit test for ResourceDictionary
14 years ago
Siegfried Pammer
f20cd83e6d
implement x:Class detection in BamlDecompiler
14 years ago
Siegfried Pammer
963f8ff945
implemented using base type as root node in decompiled BAML
14 years ago
Siegfried Pammer
7c4b944863
implement MoveNamespacesToRoot and add Unit Tests
14 years ago
Siegfried Pammer
17f8c8f1ef
convert elements with no value to empty elements
14 years ago
Ed Harvey
43e867c2ae
Implement filtering on DerivedTypesTreeNode.
14 years ago
Ed Harvey
529e9aaf5a
Sort Analyzer results.
14 years ago
Ed Harvey
0d5afc2479
Slight change to hue of access overlay icons.
14 years ago
Ed Harvey
397df16793
Use standard icon
14 years ago
Daniel Grunwald
e8b6e3d808
Annotate anonymous methods/lambdas with the MethodDefinition representing the lambda body.
14 years ago
Daniel Grunwald
c2eb91797c
Make file extension comparison case-insensitive.
14 years ago
Daniel Grunwald
35dbc0dd80
Merge branch 'resources' of https://github.com/EdHarvey/ILSpy
14 years ago
Daniel Grunwald
e7b798387b
Merge pull request #200 from EdHarvey/Analysis
...
Analysis updates
14 years ago