120 Commits (5fdeb223dde11dee57fac29e31dca37352af573d)

Author SHA1 Message Date
Daniel Grunwald ab4e05f783 Don't perform DetectCatchWhenConditionBlocks transform when catchBlock.Variable.Type setter would throw an exception due to differing stack types. 6 years ago
Daniel Grunwald 7f2b3a4506 Fix #1529: Handle exceptions on invalid metadata signatures 6 years ago
Siegfried Pammer daf90bfe97 Fix #1488: Ignore errors while decoding security declarations. 6 years ago
Daniel Grunwald 961923f4fd #1499, #1240: Translate pointer arithmetic on managed pointers (ref T) using the System.Runtime.CompilerServices.Unsafe intrinsics 6 years ago
Daniel Grunwald b7a3c8d640 Fix #1442: Allow "dynamic?" in the type system. 6 years ago
Daniel Grunwald 8d99af14c5 Add support for 'ref readonly' return type. 6 years ago
Daniel Grunwald a5505ab00d Expose IMethod.AccessorKind. This makes it easier to determine if a method is a setter, particular in generic classes where "m.AccessorOwner?.Setter == m" ended up being wrong. 6 years ago
Daniel Grunwald 0238e645db Fix [DecimalConstant] parameters 6 years ago
Daniel Grunwald 2f35374d7d Support "where T : unmanaged" constraints. 6 years ago
Daniel Grunwald 06cf9c1747 Avoid exceptions on IType->ArrayType or IType->ITypeParameter casts due to NullabilityAnnotatedType decorator. 6 years ago
Daniel Grunwald bbbfe81c25 Nullability of type parameters "where T : class?" 6 years ago
Daniel Grunwald 7a058f6262 First attempt at integrating C# nullable reference types into the type system. 6 years ago
Siegfried Pammer 9d19b33ec0 Fix #1394: Fields marked 'specialname' are excluded from the type system 7 years ago
Siegfried Pammer b93d99a318 Fix #1368: Ignore errors while decoding attribute blobs. 7 years ago
Siegfried Pammer 1863174f8e Fix #1372: XML security attributes are not added to the output. 7 years ago
Daniel Grunwald 72d755037b Fix #1283: handle invalid metadata when decoding constants 7 years ago
Siegfried Pammer 892a4da6cc Fix #1287: Analysis 'applied to' of Attribute not working on special attributes 7 years ago
Siegfried Pammer 12122841c6 Fix bug in MetadataMethod.GetAttributes and add tests for PreserveSig in DllImportAttribute and PreserveSigAttribute. 7 years ago
Siegfried Pammer 2bcafb8c4f Fix #1247: Empty destructors are not decompiled correctly 7 years ago
Siegfried Pammer f33f26fddd Extend TypeSystem/TypeSystemLoaderTests and CSharpAmbienceTests. 7 years ago
Siegfried Pammer 87456ffdfa Fix MetadataParameter.IsRef if TypeSystemOptions.ReadOnlyStructsAndParameters is disabled. 7 years ago
Siegfried Pammer 9ed65dc780 Add more tests, fix typo. 7 years ago
Siegfried Pammer 7ef7f1870e Refactor TS representation of ref / readonly structs. Add support for in parameters. 7 years ago
Siegfried Pammer c14c69b7e2 Add ReferenceAssemblyAttribute to KnownAttributes 7 years ago
Andrey Shchekin d677f0dcf1 Fixed thread safety issues as per code review comments. 7 years ago
Daniel Grunwald 8270a93c1a Fix #1233: Fix some crashes on corrupt type references. 7 years ago
Andrey Shchekin d15fe0f254 Fixed bug with decimal optional parameters not being resolved correctly. 7 years ago
Siegfried Pammer 2d842a596a Add KnownAttribute.CallerMemberName, CallerFilePath and CallerLineNumber 7 years ago
Siegfried Pammer b20d4df95b Fix #1231: System.BadImageFormatException: Invalid coded index 7 years ago
Siegfried Pammer 54f130bd91 Simplify signature of DetermineIsIndexer. 7 years ago
Siegfried Pammer 342750ad1d Fix DetermineIsIndexer: parameter handles are optional, so it's better to check the signature blob for the parameter count. 7 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. 7 years ago
Siegfried Pammer 39a9efde29 Fix #1220: Auto Property named 'Item' decompiled as an invalid indexer 7 years ago
Siegfried Pammer 99f9ecadd3 Fix #1221: Private setter-only properties are not decompiled correctly 7 years ago
Siegfried Pammer 195a1cf55b IModule should implement ISymbol. 7 years ago
Siegfried Pammer 18e0c7110f Fix #1208: v4.x: EnumUnderlyingTypeResolveException when opening up assembly 7 years ago
Daniel Grunwald ab157b2fc0 Add TypeSystemOptions.Uncached. 7 years ago
Daniel Grunwald b396d203bd Merge IDecompilerTypeSystem with ICompilation. 7 years ago
Daniel Grunwald 1f3916d554 Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem. 7 years ago
Daniel Grunwald 107fe5eb1c Eliminate SpecializingDecompilerTypeSystem and use GenericContext instead. 7 years ago
Daniel Grunwald fdc109eebd Fix NullReferenceException in TypeSystemAstBuilder when attribute argument decoding fails. 7 years ago
Siegfried Pammer b6e88c4bbb Handle EnumUnderlyingTypeResolveException in CustomAttribute.DecodeValue() 7 years ago
Daniel Grunwald 3b46776c5e Rename IAssembly -> IModule. 7 years ago
Daniel Grunwald b149238777 Introduce IType.IsByRefLike. 7 years ago
Daniel Grunwald d63a37dcda Allow comparing metadata entities across compilations. 7 years ago
Siegfried Pammer 4f1c6e3509 Remove more dead code. 7 years ago
Siegfried Pammer 1f9472e10e Refactor GetDeclaringAssembly + Add support for module references. 7 years ago
Daniel Grunwald 0f71b65b53 Remove unresolved TS interfaces. 7 years ago
Daniel Grunwald 2fa2eb9d18 Remove some of the old TS implementations. 7 years ago
Daniel Grunwald 3be697eadf Rewrite MinimalCorlib without using the unresolved TS. 7 years ago