775 Commits (d511e768dfabda847e8280d8d99f8731cb3b291c)

Author SHA1 Message Date
Siegfried Pammer 42668e810a Fix #2808: Insert cast to object when statically casting from dynamic to a reference type. 3 years ago
Siegfried Pammer b87f3753e2 Fix #2786: Structs with static reference type fields not recognized as unmanaged 3 years ago
Siegfried Pammer 47250d670b Fix #2791: Ensure that the capture scope used is either a loop or the ILFunction root container. 3 years ago
Siegfried Pammer a3191f19e2 Fix #2763: Improve decompilation of switch-on-enum by preserving enum type information when inlining local variables into SwitchInstruction.Value. 3 years ago
Daniel Grunwald 0fbbb6d95e Fix #2777: StackOverflowException with recursive delegates 3 years ago
Daniel Grunwald 21c3ec046f Output attributes on lambda expressions 3 years ago
Siegfried Pammer 5078796b17 Add support for string format alignment. 3 years ago
Siegfried Pammer 702a7da2c3 Fix #2714: Force inlining of call targets in ctor initializers. 3 years ago
Siegfried Pammer d248867302 Add support for C# 10 record structs. 3 years ago
Siegfried Pammer e61f46c474 Add MethodCodeType argument to MethodImplAttribute. 3 years ago
Siegfried Pammer 6a3bb2bbf1 Fix #2655: TranslateArrayInitializer crashes with out of order array init 3 years ago
Siegfried Pammer 68b388bc36 Disable DecompilerSettings.ParameterNullCheck 3 years ago
Siegfried Pammer 9e462b53ad Add support for C# 11 parameter null checks 3 years ago
Siegfried Pammer 6a27959cbc Improve decompilation of delegate references of extension methods. 3 years ago
Siegfried Pammer 0bc11d05d3 Fix #2634: target expressions of delegate references were not decompiled correctly 3 years ago
Siegfried Pammer de5b72114e Fix nullable and other warnings. 3 years ago
Daniel Grunwald a9f4694563 Add test for C# 11 generic attribute 3 years ago
Siegfried Pammer 9935f51b96 Fix #2646: Missing values for enums with skipped or duplicate items 3 years ago
Siegfried Pammer 1ee3384a05 Fix #2640: Invalid implicit enum value for unordered items 3 years ago
Siegfried Pammer db034d3048 Remove incomplete/wrong support for null-forgiving operator. 3 years ago
Siegfried Pammer 3c2e52854e DetectPinnedRegions: Inline the stack-slot involved in CustomRefPinPattern so that the following ProcessPinnedRegion call can reuse existing unmanaged pointer variables instead of being forced to create a new variable. 3 years ago
Siegfried Pammer f98012ec16 DetectPinnedRegions: Support special case where pinned pointer is unused and the compiler optimized out the StopGCTracking-conversion. 3 years ago
Siegfried Pammer 44dee6ecc2 Add additional tests for .NET 4.0 3 years ago
Siegfried Pammer 9e46b9d357 Update WellKnownConstants test for net6.0 3 years ago
Siegfried Pammer e4b63f7a35 - Make all tests async. 3 years ago
Daniel Grunwald 7a97fdd02d Add comment for Double_One_Div_LongMaxValue 3 years ago
Daniel Grunwald db7d507138 Fix #2615: Overflow check did not work reliably due to fp rounding error 3 years ago
Siegfried Pammer 4aa7f5fc38 Fix #2612 decompilation of newarr with int.MaxValue causes OOME in decompiler. 3 years ago
Siegfried Pammer 12e586b44b Âdd a test case for stackalloc in nested context. 4 years ago
Siegfried Pammer 15f49c0079 Add basic support for abstract static members in interfaces. 4 years ago
Siegfried Pammer ec6a9afc57 Fix #2448: Decompiler shows some enum values as hexdecimal instead of decimal 4 years ago
Daniel Grunwald 92ee317166 Add test case for #2436 4 years ago
Siegfried Pammer c987eb66cd Add struct test case. 4 years ago
Siegfried Pammer d8bb40b45b Generate file-scoped namespace declarations, if possible. 4 years ago
Daniel Grunwald 8c508d9bbb #2445: Fix `1f/6f` getting printed as `355f / (678f * (float)Math.PI)` 4 years ago
Daniel Grunwald 7f985757a7 Fix #2541: Add explicit `unchecked()` around non-constant cast of constant to `nint` 4 years ago
Siegfried Pammer 7c7ce6f6c7 mcs 5 generates IL patterns that might lead to wrong behavior, if inlined, therefore we have to add another special case to the tests. 4 years ago
Siegfried Pammer ea1cea96c4 Fix #2547: decimal const not removed from static constructor. 4 years ago
Siegfried Pammer 4b6fd7aee6 Fix #2545: LINQ expression has a question operator on the source collection 4 years ago
Siegfried Pammer 65f2c54166 Fix #2544: do not transform to interpolated string, if the format string is not syntactically correct. 4 years ago
Siegfried Pammer b87cdf6bc4 Fix CS73_StackAllocInitializer tests 4 years ago
Siegfried Pammer 30f9a82fbe Add Roslyn 3.11.0 as separate test configuration. Update RoslynLatest to 4.0.0. Use LanguageVersion.CSharp9_0 instead of Preview. Add LanguageVersion.CSharp10_0. 4 years ago
Siegfried Pammer 6bc0abc336 Fix #2378: DeconstructionTransform produced invalid ILAst with some optimized deconstruction patterns. 4 years ago
Siegfried Pammer ee3aabdc51 Fix #2534: Handle default implementations of properties and events in interfaces. 4 years ago
Siegfried Pammer 665c731cfc Move PatternMatchingTransform after LoopDetection. 4 years ago
Siegfried Pammer 3f62216c85 Fix simple type patterns. 4 years ago
SilverFox 1367e7ba95 Add support for `in parameters` in primary ctor of records 4 years ago
SilverFox 11b44e53b7 Add support for attributes of field/property in primary ctor of records 4 years ago
Siegfried Pammer dbbcbb87fe Make pattern matching transform a simple ILTransform for both reference and value types. Check that the true branch dominates all uses of the pattern variable. 4 years ago
Siegfried Pammer e50d221e06 Adjust NullableLiftingTransform to match new patterns due to RemoveInfeasiblePathTransform. 4 years ago