966 Commits (f05c1bb4664f5a4b6becd654d22adfe82218062c)

Author SHA1 Message Date
Siegfried Pammer 1854a33749 Fix #1340: infinite recursion in DelegateConstruction due to recursive local function being mistreated as delegate construction. 7 years ago
Siegfried Pammer 14f3544a2b #1341: force DecompilerSettings.LoadInMemory = true, in all CSharpDecompiler ctors that take a filename. 7 years ago
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 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 0dac55d584 Add transformation for stackalloc to Span<T>. 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 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 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
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 dd5fb5a78b Fix #1282: Decompiling types in non-main modules - should throw a NotSupportedException. 7 years ago
Chicken-Bones ab9397d099 Add ReduceNestingTransform 7 years ago
Siegfried Pammer fbb3f230d0 StatementBuilder: do not insert continue statement at end of loop, if it's already present. 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 cf1d05042f Add detection of local functions, so we do not hide the methods/display classes. 7 years ago
Siegfried Pammer a9c1b9d515 Fix #1250: Missing enum to int cast in object initializer 7 years ago
Siegfried Pammer 71441786eb Fix #1254: Assert in Transforms.IntroduceUsingDeclarations.Run - using left tree navigation 7 years ago
Siegfried Pammer 27b075ae7a #1252: Do not accidentally create casts to object?. 7 years ago
Siegfried Pammer 845d2a61dd CSharpAmbience: add option to hide parameter default values. 7 years ago
Siegfried Pammer d469edbf2a Fix initialization order of destructorBodyPattern and destructorPattern. 7 years ago
Siegfried Pammer 2bcafb8c4f Fix #1247: Empty destructors are not decompiled correctly 7 years ago
Siegfried Pammer a7ad5990ac CSharpAmbience: Add ConversionFlags.ShowParameterModifiers and ShowTypeParameterVarianceModifier to make labels in ILSpy main tree view more concise. + Added Tests. 7 years ago
Siegfried Pammer bb38046e8b Fix bug in TSAB: readonly and ref modifiers should only be added to structs if ShowModifiers == true. 7 years ago
Siegfried Pammer 7431ffe937 Extend ShowDeclaringType option to nested types. 7 years ago
Siegfried Pammer 23907c8d7d Use IAmbience API in CSharpLanguage. 7 years ago
Siegfried Pammer e00e7b691a Move memcpy/memset comments before statement. 7 years ago
Siegfried Pammer 772b529d16 Add support for stackalloc initializer pattern that uses initblk. 7 years ago
Siegfried Pammer 057ab82534 Add basic stackalloc initializer transforms. 7 years ago
Siegfried Pammer b58c356222 Extend StackAllocExpression: Add support for initializers. 7 years ago
Siegfried Pammer 0fc5c8b988 Add support for FormattableString patterns. 7 years ago
Siegfried Pammer 9578bed0ed Add 'in' to DirectionExpression. 7 years ago