Siegfried Pammer
57597caf1f
Fix #1227 : System.InvalidCastException: Cast from Int64 to Empty not supported.
8 years ago
Siegfried Pammer
2a80757e0a
Fix parameter output of disassembler. Closes #1214
8 years ago
Siegfried Pammer
bfdff894bc
#1214 : Assertion Failed in DecodeSignature() - Fix type system metadata; parameter metadata was assigned to parameter types in the wrong order.
8 years ago
Siegfried Pammer
f1f70d0ded
Fix #1148 : Do not use hexadecimal display in enums if the value is negative.
8 years ago
Siegfried Pammer
a5ea005c9a
Fix #1223 : Can't open up assembly for browsing
8 years ago
Siegfried Pammer
71ffb0183b
Fix #1103 : Deactivating "Insert using declarations" now uses fully qualified types everywhere.
8 years ago
Siegfried Pammer
39a9efde29
Fix #1220 : Auto Property named 'Item' decompiled as an invalid indexer
8 years ago
Siegfried Pammer
99f9ecadd3
Fix #1221 : Private setter-only properties are not decompiled correctly
8 years ago
Siegfried Pammer
58c3a17a26
#1024 : Fix bug in sequence point blob mapping.
8 years ago
Siegfried Pammer
d5b495329f
#1024 : Make PDB Support in ILSpy more robust.
8 years ago
Siegfried Pammer
420ecb5906
Move ILParser to separate file.
8 years ago
Siegfried Pammer
d9187912f1
Fix #1216 : OverflowException while decompiling enum value.
8 years ago
Siegfried Pammer
f634710570
Closes #943 ; Use official EmbedAllSources parameter; remove workaround
8 years ago
Siegfried Pammer
abe3b3a74c
Fix #1217 : System.Xml.XmlException on browsing any type, if referenced xml doc is not available.
8 years ago
Chicken-Bones
f539bee362
Move binary->logical AND to ExpressionTransforms and use SemanticHelper.IsPure
8 years ago
Siegfried Pammer
0e10290b0f
Fix #1215 : Add namespaces of type parameter constraints to superset.
8 years ago
Siegfried Pammer
156728681a
Make creating CSharpDecompiler easier.
8 years ago
Chicken-Bones
fe6a85fa68
Reverse Roslyn optimisation to favour && over & on boolean operands.
8 years ago
Siegfried Pammer
3a7a8c4b5a
Update DecompilerNuGetDemos.workbook to work with version 4.0 pre-alpha nuget.
8 years ago
Siegfried Pammer
abb8dacb8a
Add simple PEFile constructor that can be used to easily load a PE file from disk.
8 years ago
Siegfried Pammer
cb2ec2bf89
UniversalAssemblyResolver: Fix handling of strange assembly references.
8 years ago
Siegfried Pammer
dbe29596de
Fix #1210 : v4.x: System.InvalidCastException: Specified cast is not valid
8 years ago
Siegfried Pammer
195a1cf55b
IModule should implement ISymbol.
8 years ago
Daniel Grunwald
4e8ebbf7f4
Fix #1189 : Avoid crashing on invalid IL bytes.
8 years ago
Daniel Grunwald
08e8091336
Fix #1211 : Handle BadImageFormatException on invalid local signatures.
8 years ago
Siegfried Pammer
18e0c7110f
Fix #1208 : v4.x: EnumUnderlyingTypeResolveException when opening up assembly
8 years ago
Siegfried Pammer
3cb2d316a3
Fix #1209 : System.ArgumentException: given Block is invalid!, named arguments in object / collection initializer ctor were not supported.
8 years ago
Siegfried Pammer
b82f4dd773
Fix #1206 : Could not decode attribute arguments. There was a bug in the calculation of public key tokens of assembly definitions.
8 years ago
Daniel Grunwald
90d866d78a
Fix #1193 : Performance issues with deeply nested block structures
8 years ago
Daniel Grunwald
bafb6d1d49
Fix #1194 : empty if statements are decompiled into goto statements
8 years ago
Daniel Grunwald
b4dd917949
Avoid copying resources into managed memory.
8 years ago
Daniel Grunwald
2d04f24670
Fix stack overflow in RequiredNamespaceCollector.
8 years ago
Siegfried Pammer
5faead453c
Fix build of BAML decompiler.
8 years ago
Siegfried Pammer
58c2746e60
LiteralSearchStrategy: implement support for field constants.
8 years ago
Siegfried Pammer
7ded12c5fb
Reimplement search strategies.
8 years ago
Daniel Grunwald
d8c8a75c2e
Fix #1154 : Decompilation of fixed statement when pointer variable is unused
8 years ago
Daniel Grunwald
ab157b2fc0
Add TypeSystemOptions.Uncached.
8 years ago
Daniel Grunwald
de3ffa2851
Adjust ILSpy to type system changes.
8 years ago
Daniel Grunwald
b396d203bd
Merge IDecompilerTypeSystem with ICompilation.
8 years ago
Daniel Grunwald
1f3916d554
Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem.
8 years ago
Daniel Grunwald
c54632e7cb
Fix some type system bugs.
8 years ago
Daniel Grunwald
107fe5eb1c
Eliminate SpecializingDecompilerTypeSystem and use GenericContext instead.
8 years ago
Daniel Grunwald
fdc109eebd
Fix NullReferenceException in TypeSystemAstBuilder when attribute argument decoding fails.
8 years ago
Siegfried Pammer
dccd0052dc
Merge XmlDocKeyProvider.cs into IdStringProvider.cs
8 years ago
Siegfried Pammer
b6e88c4bbb
Handle EnumUnderlyingTypeResolveException in CustomAttribute.DecodeValue()
8 years ago
Daniel Grunwald
4580eab7ab
Disable ref inline assignments.
...
This increases the chances that we'll avoid CS8174: A declaration of a by-reference variable must have an initializer.
8 years ago
Daniel Grunwald
7ee686cb67
Allow splitting a variable even if it has its address taken and stored in a ref-local.
...
The currently implementation is somewhat minimal and only works in a very limited set of circumstances:
* the ref local is single-assignment
* the ref local is initialized directly with 'ldloca target; stloc ref_local',
not a derived pointer (e.g. 'ldloca target; ldflda F; stloc ref_local').
* all uses of the ref_local are immediately consuming the address
This improves variable splitting cases where the compiler re-uses a stack slot containing a reference,
e.g. in some cases of '?.' on Nullable<T>.
8 years ago
Daniel Grunwald
796612209d
Fix #1147 : Use C# 7.3 syntax for ref reassignment.
8 years ago
Daniel Grunwald
3b46776c5e
Rename IAssembly -> IModule.
...
While support for multi-module assemblies isn't fully working yet; it is clear at this point that we want
to treat each module in a multi-module assembly separately for the purposes of the type system.
8 years ago
Daniel Grunwald
33ef82f75c
Fix #1082 : Add support for compound assignment with string.Concat().
...
Currently only supports the binary overloads of string.Concat().
8 years ago