1634 Commits (8696b691e6285e6ab9bbe70e277799a2d9a25e6b)

Author SHA1 Message Date
Siegfried Pammer 63757ead3b Fix #3382: Support compiler-generated throw-helper invocations in switch-expression implicit default-case. 3 weeks ago
danbopes 01b968fbbd
Add opt-in SortSwitchSections setting (#3749). (#3750) 4 weeks ago
Siegfried Pammer 0b8ae0bce7 Prune navigation history when assemblies are removed 4 weeks ago
Siegfried Pammer 391bf28f81 Drop the per-call predicate from FindFlagInitStore. 2 months ago
Siegfried Pammer a9a43f96a9 Reverse runtime-async multi-handler try-catch dispatched via an if-chain. 2 months ago
Siegfried Pammer 8e2e48f5cc Generalise runtime-async flag-based early-return for nested try-finally. 2 months ago
Siegfried Pammer 8a03ee246f Reverse runtime-async try-finally where the try body always throws. 2 months ago
Siegfried Pammer 8059fde539 Reverse runtime-async exception lowering for try-catch nested inside try-finally. 2 months ago
Siegfried Pammer c107c5a4bc Reverse runtime-async flag-based early-return across a try-finally. 2 months ago
Siegfried Pammer b29dd718a5 Recover the this-copy that runtime-async inserts at the entry of struct async methods. 2 months ago
Siegfried Pammer 1bfa3b821f Reduce runtime-async manual await pattern (non-Task awaitables) to Await. 2 months ago
Siegfried Pammer 7c39e9ea5e Reduce multi-handler runtime-async try-catch back to a multi-handler TryCatch. 2 months ago
Siegfried Pammer 58baac0c50 Normalize runtime-async catch filters to recover catch-with-when. 2 months ago
Siegfried Pammer 255e73f3a0 Reverse runtime-async lowering of try-finally and try-catch with await. 2 months ago
Siegfried Pammer d28ecf1b50 Add TransformAsyncHelpersAwaitToAwait to EarlyExpressionTransforms. 2 months ago
Siegfried Pammer 1a297bebb2 Handle non-Task task-likes (ValueTask, custom AsyncMethodBuilder) in ILReader async return-type unpacking. 2 months ago
Siegfried Pammer 82edef3bc6 Add scaffolding for the C# 15 runtime-async lowering. 2 months ago
Siegfried Pammer a541fc0ddf Fix CS9336 precedence bug in CompoundAssignmentInstruction. 2 months ago
Siegfried Pammer fae6f57b1c Fix #3671: TransformCollectionAndObjectInitializers mistakenly included trailing variable initialization. 4 months ago
Nikita 9ed96224b8
Update TransformCollectionAndObjectInitializers to check for init-only properties (#3678) 4 months ago
Siegfried Pammer 98d764a169 Add a treenode and decompiler APIs for extensions. 4 months ago
Siegfried Pammer 77d9ee73e9 Fix IDE2000 globally 6 months ago
Siegfried Pammer d3e12d0ebf Migrate from .ruleset to .editorconfig 6 months ago
Siegfried Pammer 0cd53418ad Add ILAmbience 7 months ago
Siegfried Pammer c0a9afc4ad Fix #3616: local variable naming conflict with primary constructor parameters. 7 months ago
ds5678 b9d6ba7dff Remove flags from `box` that indicate memory access and ability to throw 8 months ago
ds5678 ad4a87b9a3 Improve inlining of boxed values 8 months ago
Siegfried Pammer 588c243929 #3593: ObjectInitializers: allow castclass instructions wrapping the init instruction to support the pattern used for covariant returns on non-supporting platforms such as .NET 4.x. 8 months ago
Siegfried Pammer 126e870a5a Fix #3577: Properly infer the switch governing type and preserve conversions 9 months ago
ds5678 dc3ed43dd8 Do not create object initializers for tuples 9 months ago
ds5678 df9cc3dfbe Null forgiveness for UsingScope 9 months ago
ds5678 c54318173b Fix lower case type name conflicting with variable name 9 months ago
Siegfried Pammer 0e1478ffce Fix #3564: extend TransformDisplayClassUsage.IsPotentialClosure to support sibling DisplayClasses calling each other. 10 months ago
ds5678 1d964bce8e Fix regression in decompiling local functions with default parameters 10 months ago
Jeremy Pritts d1dc7b258a
Copy-propagate the stack slot for collection initializers (#3554) 10 months ago
Siegfried Pammer 6aa9bd8e5e Fix #3549: Do not crash on encountering nil tokens. 10 months ago
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 10 months ago
Daniel Grunwald 587a359e8c Fix #1873: Clear ILRange in CopyPropagation 11 months ago
Daniel Grunwald 02d9dc3e85 Fix #3323: Simplify cleanup in AwaitInFinallyTransform, ensuring that we do not miss any containers. 11 months ago
Daniel Grunwald c84605a610 Fix #3468: Try harder to avoid ref locals if `UseRefLocalsForAccurateOrderOfEvaluation` is not enabled. 11 months ago
Daniel Grunwald ec58d57875 #3465: Fix bugs in `comp.o` handling. 11 months ago
Daniel Grunwald f826037acc Protect IsInst against multi-step inlining -- we can only allow `Box` as the top-level argument, not anywhere within the argument tree. 11 months ago
Daniel Grunwald 8ad33f1e13 Fix #3479: If YieldReturnDecompiler.ConvertBody fails, abort transforming the state machine instead of continuing with invalid code. 11 months ago
Daniel Grunwald dd4bf7d8a4 Fix #3518 by replacing `FixLoneIsInst` with an inlining restriction. 11 months ago
ds5678 15223daabd WIP preincrement improvements 11 months ago
Siegfried Pammer 6c00c138eb Fix #3465: Translate comp.o(a op b) if op not in (==, !=) into Unsafe.As<object, UIntPtr>(ref a) op Unsafe.As<object, UIntPtr>(ref b) 11 months ago
Siegfried Pammer 9dde97414a Rename ResolvedUsingScope to UsingScope 11 months ago
Siegfried Pammer c9e3790adc Remove UnresolvedUsingScope 11 months ago
Siegfried Pammer d2d9281072 Move CanTransformToExtensionMethodCall to CSharpResolver 11 months ago
Siegfried Pammer d0fc0411fb Update to C# 13 and fix field keyword 11 months ago