Daniel Grunwald
c43d47589a
Merge branch '1.0'
14 years ago
Siegfried Pammer
ff97e9c634
add support for OperatorDeclaration and some more statements
14 years ago
Daniel Grunwald
17a75ded4e
Fix #211 InvalidCastException in ILAstOptimizer.TransformArrayInitializers
14 years ago
Daniel Grunwald
3fad5cb76b
Fix #249 : Object Initializer not detected for value types
14 years ago
Siegfried Pammer
f208a18bb6
add ConditionalExpression and WhileStatement
14 years ago
Siegfried Pammer
d78b1fe68d
split Statements into single files
14 years ago
Siegfried Pammer
04460cc7d1
reimplement some helper methods
14 years ago
Siegfried Pammer
055f6d56e8
implement NamedArgumentExpression and FieldInitializerExpression
14 years ago
Pent Ploompuu
1388f0b678
Fix performance regression in stack analysis (probably caused by increased complexity from Ldloca support).
14 years ago
Pent Ploompuu
1430500eba
PDB files for release mode. File alignments and base addresses improved.
14 years ago
Siegfried Pammer
69d92bde98
implement conversion of AsExpression to TryCast, improve conversion of string literals, add UnaryOperatorExpression
14 years ago
Daniel Grunwald
5c2f3633a0
Don't use variable name from .pdb file if it isn't a valid C# identifier.
14 years ago
Pent Ploompuu
587c36bea2
Type analysis support for the remaining lifted operators
14 years ago
Pent Ploompuu
458571f750
Fix op_ExclusiveOr AST transform
14 years ago
David Srbecký
822e473df3
Replace endfinally with jump. Closes #232
14 years ago
Pent Ploompuu
d226afb26d
Decompile all lifted operators on nullable values. Postfix increment/decrement and custom type conversions support incomplete, but correct.
14 years ago
Daniel Grunwald
3020bc9ce8
Fixed type analysis for right shift operator.
14 years ago
Daniel Grunwald
43b4339bea
Simplify shift operators (<< and >>).
...
Based on patch by Pent Ploompuu.
14 years ago
Siegfried Pammer
2a45819408
implement ArrayCreateExpression and CastExpression
14 years ago
Pent Ploompuu
5cb145c576
64bit support for SharpDevelop.LGPL and BamlDecompiler.Tests projects
14 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 .
14 years ago
Pent Ploompuu
92f6acf0ae
Merge branch 'master' of git://github.com/icsharpcode/ILSpy
14 years ago
Ronny Klier
e63cbb6175
Support copy entries from resource string table
14 years ago
Siegfried Pammer
3fdfe1585a
fix #231
14 years ago
Siegfried Pammer
443a312901
fix #227 and #229
14 years ago
Siegfried Pammer
fe7fdec28b
display a message if navigation is not possible; fixes #237
14 years ago
Siegfried Pammer
80ed40e6a7
move the focus to the previous node after deletion
14 years ago
Siegfried Pammer
f4504ab36e
move NodesCollection to a separate file
14 years ago
Eusebiu Marcu
26633dc27a
use LGPL in debugger plugin.
14 years ago
Eusebiu Marcu
deaa0f2376
Add ILSpy.SharpDevelop.LGPL project - LGPL files from SharpDevelop;
...
Move LGPL files from ILSpy to ILSpy.SharpDevelop.LGPL.
14 years ago
Daniel Grunwald
8beed6aa70
Fixed type inference for shift operators. Closes #239 .
14 years ago
Siegfried Pammer
0eb3aabc72
use generic enumerator
14 years ago
Siegfried Pammer
4b1622e55e
fix wrong declaration info in KnownInfo
14 years ago
Siegfried Pammer
fa638010a9
some minor cleanup
14 years ago
Siegfried Pammer
b8fd7b4d99
fixed static resource handling
14 years ago
Siegfried Pammer
c572835c9e
fixed InvalidCastException when trying to read optimized static resource
14 years ago
Siegfried Pammer
19a8087be0
add support for nested classes in type system - fix missing Win32Native.Color
14 years ago
Eusebiu Marcu
525e8fd74d
remove unnecessary file
14 years ago
Eusebiu Marcu
ea3903d697
remove unnecessary files.
14 years ago
Siegfried Pammer
891f8a4f62
remove some classes from BAML decompiler, that are no longer needed
14 years ago
Daniel Grunwald
2783b02007
Fix #241 : type analysis causes truncation of integer literals when calculating with types smaller than int32.
14 years ago
Daniel Grunwald
a318ce67be
Cache assembly lookup results - improves performance (especially for failed lookups)
14 years ago
Ronny Klier
20d023095f
Merge branch 'master' into string_resources
14 years ago
Ronny Klier
7d3df04903
First part to support copy from string table
14 years ago
Daniel Grunwald
ffc7e031f3
Merge branch '1.0'
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