3009 Commits (01b8b833605c086dba86ba1ad9b9a53ca5f3c136)

Author SHA1 Message Date
Siegfried Pammer 01b8b83360 Fix CSharpDecompiler.ReadCodeMappingInfo not taking generic lambdas into account. 6 years ago
Daniel Grunwald c56714c607 Fix assertion with async lambdas; fix async local functions. 6 years ago
Daniel Grunwald 0a54a93be0 Relax foreach transform to allow stack slots as foreach-variable again. 6 years ago
Daniel Grunwald 856cedc95e #1456: add test case; add additional checks to ensure we only transform normal locals into using/foreach-locals 6 years ago
Daniel Grunwald beed6b5e24 Remove MarkGeneratedVariables() step in AsyncAwaitDecompiler. 6 years ago
Siegfried Pammer f10ab69328 Improve local-function detection to minimize false positives. 6 years ago
Siegfried Pammer a109b77858 Refactor LocalFunctionDecompiler to allow mutually recursive local functions to be decompiled correctly. 6 years ago
Siegfried Pammer 6234ff7c9a Apply changes as requested per code review. 6 years ago
Siegfried Pammer b7bf6b7720 Fix build again. 6 years ago
Daniel Grunwald 5a8796c05c Reuse the existing TSAB. 6 years ago
Siegfried Pammer dc74e4ee9d Fix build. 6 years ago
Siegfried Pammer 763ea38644 Clean up CallBuilder.HandleDelegateConstruction 6 years ago
Siegfried Pammer 647f4fd545 Do not crash if the local function was not correctly transformed. This should only happen for generic local functions, which are currently not supported. 6 years ago
Siegfried Pammer e215f69b2d Extend description of LocalFunctionDecompiler 6 years ago
Siegfried Pammer 37e14f43e3 Refactor/Clean up local functions representation in type system. 6 years ago
Daniel Grunwald fb2cbf3d62 Use <GenerateDocumentationFile> instead of specifying the file name. 6 years ago
Daniel Grunwald 33c7425fa2 Fix several bugs with compound assignments on indexers. 6 years ago
Siegfried Pammer f3f38783df ICSharpCode.Decompiler roundtrip test now completes 6 years ago
Daniel Grunwald ccdabf2325 Fix a bunch of XmlDoc compiler warnings. 6 years ago
Siegfried Pammer 0719aa9f08 Enable DecompilerSettings.IntroduceLocalFunctions 6 years ago
Daniel Grunwald b32cae412a Eliminate BlockKind.PostfixOperator. 6 years ago
Daniel Grunwald f2151972a0 Redesign CompoundAssignmentInstruction to support an 'Address' mode where we don't implicitly turn an LdObj into an StObj, but instead directly operate on an address. 6 years ago
Siegfried Pammer 19a7898786 Add addressof(ldloc) => ldloca transform to EarlyExpressionTransforms 6 years ago
Siegfried Pammer 01e42b772c Fix local functions inside lambdas. 6 years ago
Siegfried Pammer b83cb41f2e Add pretty tests for local functions. 6 years ago
Christoph Wille 268d0af4e0 Include documentation XML in NuGet package (similar to PR https://github.com/icsharpcode/ILSpy/pull/1432 but built for v5.0) 6 years ago
Siegfried Pammer 6f98ed5415 Fix unit tests. 6 years ago
Siegfried Pammer 305b47245e Refactor representation of local functions in ILAst. 6 years ago
Siegfried Pammer 89a50e64fc Extension method syntax on lambda expressions/delegates is not allowed. 6 years ago
Siegfried Pammer b42d4963e7 Fix assertions in TransformExpressionTrees. 6 years ago
Siegfried Pammer 16d6e16da7 Add support for local function references and recursive local functions. 6 years ago
Daniel Grunwald dec9c83c4c Fix #1570: Handle ReflectionNameParseException when decoding invalid attribute arguments 6 years ago
Siegfried Pammer 7d95516e85 Fix #1518: Missing Detach()-call in AST manipulation. 6 years ago
Siegfried Pammer 6338bd1b85 Partially revert CheckNoNamedOrOptionalArguments. 6 years ago
Siegfried Pammer d50b8d66d1 Fix #1373, fix #1541: add support for instance calls to CallIndirect. 6 years ago
Daniel Grunwald a6def4cdf5 Fix incorrect type for numeric.compound.assign when the pointer type is incompatible with the store type. 6 years ago
Daniel Grunwald ed5d71b365 Fix #1537: KeyNotFoundException in ReduceNestingTransform.ReduceSwitchNesting() 6 years ago
Siegfried Pammer ab892a603b Disassembler: Refactor InstructionOutputExtensions.WriteTo: Reduce code duplication; Add support for unmanaged calling conventions 6 years ago
Siegfried Pammer cd8dd7af9f Disassembler: Fix output of calling convention and flags in standalone method signature 6 years ago
Daniel Grunwald e6489d543e Fix #1574: When re-introducing an explicit cast for an implicit user-defined conversion; ensure we use a direct cast and don't go through the code path for builtin conversions. 6 years ago
Daniel Grunwald d841d96406 Fix unnecessary casts when calling user-defined operators on nullable types. 6 years ago
Siegfried Pammer 119c679fad Add addressof(ldloc V) => ldloca V transform for read access on value types. 6 years ago
Siegfried Pammer 8d1522f387 Transform display classes used in local functions. 6 years ago
Daniel Grunwald 3314f3f37a Fix #1571: Expression transforms not running for values of inline assignments. 6 years ago
Siegfried Pammer 15488acdc7 Fix #1559: switch on string inside try block. 6 years ago
Siegfried Pammer 01d1e2ef57 Fix #1569: Look for first non-static field in enum definitions to determine enum underlying type. 6 years ago
Siegfried Pammer e99bc2b145 Fix #1567: Do not transform string.Concat method calls to + operators if named arguments are used. 6 years ago
Siegfried Pammer 03e45fc80a Fix #1568: Mimic behavior of ILReader.CreateILVariable in case of empty parameter names of anonymous methods. 6 years ago
Siegfried Pammer 0cafc679f2 Do not fold using declarations, if there's only one. 6 years ago
Siegfried Pammer 6d05f36821 Fix #1562: Do not transform display class initialization to object initializer. 6 years ago