Siegfried Pammer
15bc1e3a9d
implemented DoLoopStatement and UsingStatement
14 years ago
Siegfried Pammer
45999f4358
implement conversion of switch to Select Case
14 years ago
Siegfried Pammer
0eb61a2524
correctly implement ForEachStatement and ForStatement; add output for ForStatement
14 years ago
Siegfried Pammer
f07bde37c7
implement VB 11 Iterators
14 years ago
Siegfried Pammer
ff97e9c634
add support for OperatorDeclaration and some more statements
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
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
Siegfried Pammer
2a45819408
implement ArrayCreateExpression and CastExpression
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
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
ed08c83289
Make ConvertChar and ConvertString public.
14 years ago
Daniel Grunwald
3833643aaf
Fixed issues with detection of using statements.
14 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 .
14 years ago
Siegfried Pammer
e9eca059d5
remove isLastLine from interface - use stack instead; fix null reference if resolve of TypeDefinition fails
14 years ago
Daniel Grunwald
faf3a29a08
Fixed position of XML comments on nested types.
14 years ago
Daniel Grunwald
508073d6ac
Applied some of the optimizations suggested by Kris Vandermotten. #150
14 years ago
Siegfried Pammer
ba0b80856c
add foldings to documentation comments; closes #165
14 years ago
Eusebiu Marcu
5cf243125c
get AST nodes locally
14 years ago
Eusebiu Marcu
8c37175189
add icon margin & bookmarks
14 years ago
Siegfried Pammer
01493897c7
fix https://github.com/icsharpcode/ILSpy/issues/177
14 years ago
Siegfried Pammer
93b63848cc
add support for EventDeclaration and some more binary operators
14 years ago
Siegfried Pammer
61747ff645
do not print method bodies in Interfaces
14 years ago
Siegfried Pammer
8610b14c83
add support for comments
14 years ago
Siegfried Pammer
b0b7f032a8
output ThrowStatement
14 years ago
Siegfried Pammer
a7d87fc65a
add ArrayInitializerExpression and ObjectCreationExpression
14 years ago
Siegfried Pammer
173164ca23
fix indentation in Accessor blocks
14 years ago
Siegfried Pammer
2e6261fa10
convert default(T) to Nothing and typeof() to GetType()
14 years ago
Siegfried Pammer
e5fb8d9560
implemented IfElseStatement and some more expressions
14 years ago
Siegfried Pammer
5f6386aed6
implement translation of EnumDeclaration
14 years ago
Siegfried Pammer
74c376bb98
implement PropertyDeclaration; add Inherits/Implements to TypeDeclaration; implement output for DelegateDeclaration
14 years ago
Siegfried Pammer
6e8b73b23a
implement proper conversion of FieldDeclaration
14 years ago
Siegfried Pammer
b7dfb82fb3
add MethodDeclaration, ConstructorDeclaration;
...
EventMemberSpecifier, InterfaceMemberSpecifier for Handles and Implements clauses
14 years ago
Siegfried Pammer
90013778f1
add GetTypeExpression, GetXmlNamespaceExpression, MemberAccessExpression, TypeOfIsExpression
...
and TypeReferenceExpression
14 years ago
Siegfried Pammer
c08710e903
implement AddressOfExpression, InstanceExpression, ParenthesizedExpression and SimpleNameExpression
14 years ago
Siegfried Pammer
fffd3d8e80
implement Attribute conversion
14 years ago
Siegfried Pammer
d90a82e590
add support for Imports and Namespaces
14 years ago
Daniel Grunwald
944686750e
Add SaveIndex/LoadFromIndex methods to XmlDocumentationProvider.
14 years ago
Daniel Grunwald
c3ce66c622
New XmlDocumentationProvider implementation:
...
Keep only a small index in memory, and read the relevant portion of the .xml file again when the documentation is requested.
This means we no longer need to store the documentation in temporary binary files for efficient access.
14 years ago
Daniel Grunwald
250dba9502
When the last statement in a block is a label, add an EmptyStatement so that the generated code is valid.
14 years ago
Daniel Grunwald
5c7d679c52
Add TestPlugin.
15 years ago
Daniel Grunwald
89d0b7b54b
C# OutputVisitor: improve indentation of query expressions
15 years ago
Daniel Grunwald
950e4737fd
Fixed output of NamedArgumentExpression within object initializers.
15 years ago
Daniel Grunwald
987f9c8975
Fixed InsertParenthesesVisitor for casts of negative primitive expressions.
15 years ago
Daniel Grunwald
edf5f6711e
Add OperatorDeclaration.GetOperatorType() helper method.
15 years ago
Eusebiu Marcu
cbb99155ae
Implement new methods in NotImplementedAstVisitor.
15 years ago