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
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
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
Daniel Grunwald
e0c7bebfe8
Add license headers to the files that were missing them.
15 years ago
Siegfried Pammer
111a6ca292
do not use primitive type names in TreeNodes; fixes #183
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
Eusebiu Marcu
8c37175189
add icon margin & bookmarks
15 years ago
Eusebiu Marcu
207af4eced
update to latest code mappings
15 years ago
Eusebiu Marcu
802702908a
debug methods - part 1.
15 years ago
Artur Zgodziński
d900a171fa
Improved decompilation of new modifier.
15 years ago
Eusebiu Marcu
f6ecd0645a
Store code mappings using token as key. Sync bookmarks.
15 years ago
Daniel Grunwald
65c56de456
Show optional parameters.
15 years ago
Ed Harvey
24c0eaccb7
Added Analyzer - Interface Method Implemented By
15 years ago
Daniel Grunwald
f12371e0e1
Consistently use the full MIT license header on source files.
15 years ago
Eusebiu Marcu
a2b35dbd60
Store the code mappings when decompiling multiple member references (TypeDefinitions, MethodDefinitions, PropertyDefinitions, etc).
15 years ago
pentp
28e1ec37f9
Fixed generic constraint display on method overrides and explicit interface implementations.
15 years ago
Daniel Grunwald
8c927f199b
Fixed issues introduced by #139 (Improved local variable inlining)
15 years ago
Daniel Grunwald
660505e04d
Introduce 'AddressOf' pseudo-opcode to make the type system aware of inlined value types ( #139 )
15 years ago
Daniel Grunwald
094f42ac83
Improved disambiguation of type references.
15 years ago
Daniel Grunwald
0764fd7ca7
Fixed issue in lambda decompilation when a closure class contains static fields (cached delegates).
15 years ago