2708 Commits (4b9a74de09f4efe85582caeebcefe7b671072b38)

Author SHA1 Message Date
Siegfried Pammer 589dde4ed3 Fix redundant casts on constant expressions. 7 years ago
Siegfried Pammer 7919ce8dd7 TSAB: Add option to display integral literals as hexadecimal numbers. 7 years ago
Siegfried Pammer 2c00afcccb Fix CallBuilder.IsPrimitiveValueThatShouldBeNamedArgument 7 years ago
Siegfried Pammer 20dec3e3f1 Fix possible null reference. 7 years ago
Siegfried Pammer fd0d898703 #1330: add more exception handling to CSharpDecompiler, so an entity that caused decompilation to fail can easier be identified. 7 years ago
Siegfried Pammer fac1a4d115 Fix #1311: Methods in .winmd files compiled from C# don't show up in individual method view in ILSpy 4. 7 years ago
Siegfried Pammer 00194f8c03 Fix unit tests. 7 years ago
Siegfried Pammer 224b183e98 Fix IntroduceUnsafeModifier.VisitStackAllocExpression: size expression might contain pointer type or resolve result might be null. 7 years ago
Siegfried Pammer 112719efaf Extend safety-checks in TransformSpanTCtorContainingStackAlloc. 7 years ago
Siegfried Pammer 0dac55d584 Add transformation for stackalloc to Span<T>. 7 years ago
Daniel Grunwald 4a3185c823 #907: Add tests 7 years ago
Daniel Grunwald e990d5ac00 Revert the 'unwrapBoxingConversion' addition to TranslateTarget(), I ended up solving the boxing issue directly in HandleDelegateConstruction() 7 years ago
Daniel Grunwald b455286ad3 Fix #1333: Ensure we convert to the correct type when calling instance methods on value types 7 years ago
Siegfried Pammer 0545025705 Add back support for ".other" method references in disassembler, as it is now supported by SRM. 7 years ago
Siegfried Pammer f43e26f87c Fix #1329: AssertionFailedException: Should not insert using declaration for namespace that is missing from the superset: System.Windows.Markup 7 years ago
Siegfried Pammer 86329349ba Fix #1332: DecompileMemberBodies: Cannot mutate frozen NullBlockStatement 7 years ago
Siegfried Pammer 6c193ac50e Fix #1323: NRE in DetectBestEnumValueDisplayMode; emit error message, if enum field definition has no constant value. 7 years ago
Daniel Grunwald b307fc0a81 Fix VisitLdcI4 when HintType=bool. 7 years ago
Siegfried Pammer 982c71efb2 Fix implementation of CallBuilder.IsOptionalArgument by converting the ResolveResult to the parameter type. 7 years ago
Siegfried Pammer b18653ba82 Fix #1319: Property name collides with variable name 7 years ago
Daniel Grunwald 3cbadb7134 Fix #1301: casts were unnecessarily marked as unchecked 7 years ago
Daniel Grunwald 21040c8bde Don't emit "virtual" modifier in interfaces (C# 8 default interface members). 7 years ago
Daniel Grunwald 0a9df3d373 Fix #1252: Incorrect comparison type for lifted comparisons in expression trees. 7 years ago
Daniel Grunwald 29e69e46ef Revert "#1252: Do not accidentally create casts to object?." 7 years ago
Daniel Grunwald 6a417eab97 #1252: Eliminate more types of redundant casts 7 years ago
Daniel Grunwald b33d338558 Fix #1308: Consider type hint in ldc.i8 translation. 7 years ago
Daniel Grunwald 35a0ee2263 Fix #1309: Decompilation of dynamic casts. 7 years ago
Daniel Grunwald e041454987 Add pretty tests for "yield return" and fix some minor bugs: 7 years ago
Daniel Grunwald ed631cc7d3 Fix #1307: some of the blocks made unreachable by the yield-return-transform were not deleted 7 years ago
Daniel Grunwald 5d394b7786 Refactor PR #1303 to make the ConvertBranchAfterYieldReturn logic easier to understand 7 years ago
Siegfried Pammer 44aa391a85 Fix bug in CallBuilder. 7 years ago
Siegfried Pammer ee584f3260 Fix bug in string interpolation handling. 7 years ago
Siegfried Pammer c9b74865fc Fix #1281: Fix CallBuilder: use expanded form only if overload resolution allows it. 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
Wenxuan Zhao 3e937cf7cb
Fix delegate in yield return issue for assembly compiled with Mono 7 years ago
Wenxuan Zhao 9228e0102c
Fix yield return for assembly compiled with Mono 7 years ago
Daniel Grunwald ef866040b4 Update to SRM 1.6.0 and Roslyn 2.9. Adjust decompiler to new code pattern used for lifted nullable comparisons. 7 years ago
Daniel Grunwald 12e74daf48 Handle Comp in InferType(). 7 years ago
Siegfried Pammer e418bcc753 Fix default case of ReflectionDisassembler.WriteSimpleValue, bool values were printed incorrectly. 7 years ago
Siegfried Pammer dd5fb5a78b Fix #1282: Decompiling types in non-main modules - should throw a NotSupportedException. 7 years ago
Chicken-Bones ab9397d099 Add ReduceNestingTransform 7 years ago
Chicken-Bones e9b766d708 Improve persistence of IL offsets through various transforms. 7 years ago
Chicken-Bones bf17423618 Abort SwitchAnalysis on duplicate condition (redundant code) 7 years ago
Daniel Grunwald f4613de2ba Don't match sub.ovf in SwitchAnalysis. 7 years ago
Siegfried Pammer fbb3f230d0 StatementBuilder: do not insert continue statement at end of loop, if it's already present. 7 years ago
Siegfried Pammer 6719dacabd Fix #1279: Event fields in object initializers 7 years ago
Eugene a80672ba42 Change rules for VisitUnboxAny & fix issue https://github.com/icsharpcode/ILSpy/issues/1256 7 years ago
Siegfried Pammer d5a2b893e9 Fix ReadCodeMappingInfo for lambdas compiled with mcs. 7 years ago
Siegfried Pammer 65cf13ce27 Fix #1270: Bad decompilation of mcs switch-on-string 7 years ago