ds5678
6fb6b63a2c
Fix ugly test
3 months ago
ds5678
df9cc3dfbe
Null forgiveness for UsingScope
3 months ago
ds5678
c54318173b
Fix lower case type name conflicting with variable name
3 months ago
Siegfried Pammer
808b6d36db
Fix #3574 : MMB shortcut to "Decompile to new tab" doesn't work in Search tab
3 months ago
Siegfried Pammer
52b753c800
Switch StackPanel with DockPanel in search panel GridViewColumns to make TextBlock.TextTrimming have an effect.
3 months ago
Siegfried Pammer
61f82d0c2d
Fix #3563 : Add support for ildasm /caverbal format
3 months ago
Siegfried Pammer
a79a587154
Fix SaveToDisk default filename suggestion to use the text of the tree node instead. The ToString() implementation returns the tree node path, which always starts with the full path of the loaded assembly. So in my case the suggested file name was always "C" when the assembly was located on the C: drive.
3 months ago
Siegfried Pammer
0e1478ffce
Fix #3564 : extend TransformDisplayClassUsage.IsPotentialClosure to support sibling DisplayClasses calling each other.
3 months ago
Siegfried Pammer
9b0e3a1605
Fix folding of local functions, if "Fold all braces" is disabled.
3 months ago
Siegfried Pammer
9c39e9ba48
Merge pull request #3560 from ds5678/issue3541
...
Fix regression in decompiling local functions with default parameters
4 months ago
ds5678
1d964bce8e
Fix regression in decompiling local functions with default parameters
4 months ago
Siegfried Pammer
cce3e3b12d
Merge pull request #3556 from icsharpcode/christophwille/dotnet10rc1
...
Update to .NET 10 RC1
4 months ago
Siegfried Pammer
7f84d24167
Add support for new extension everything encoding.
4 months ago
Jeremy Pritts
d1dc7b258a
Copy-propagate the stack slot for collection initializers ( #3554 )
...
* Copy-propagate the stack slot for collection initializers
* Use pattern matching
4 months ago
Siegfried Pammer
17a533647b
Add C# 14 ExtensionMarkerAttribute
4 months ago
Siegfried Pammer
732f285c41
Rename KnownAttributes.RequiredAttribute to KnownAttributes.Required
4 months ago
Christoph Wille
b4d33af238
Update packages to .NET 10 RC1
4 months ago
dependabot[bot]
bd06b7087f
Bump actions/setup-dotnet from 4 to 5 ( #3555 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Siegfried Pammer
58bf5efe17
DebugDirectoryTreeNode: PointerToRawData was always showing 0 and AddressOfRawData was showing the wrong value.
4 months ago
Siegfried Pammer
b9c3311d3f
DebugDirectoryTreeNode: AddressOfRawData and PointerToRawData columns should use hex display.
4 months ago
Siegfried Pammer
4d38900dc0
Fix #3522 : Improve error handling in DebugDirectoryTreeNode by reusing ErrorTreeNode.
4 months ago
Siegfried Pammer
e34db06a67
Fix #3543 : Missing parentheses around field assignment expression in list initializers
4 months ago
Siegfried Pammer
6aa9bd8e5e
Fix #3549 : Do not crash on encountering nil tokens.
4 months ago
Siegfried Pammer
967de581d9
Merge pull request #3546 from petercrabtree/dev/dev-env-clean-no-bom
...
Normalize UTF-8 BOM Marks and ps1 Indention
4 months ago
Siegfried Pammer
48ff85178d
#3545 : Properties must have a getter for covariant returns to be applicable.
4 months ago
Siegfried Pammer
3442fad4a0
Fix #3545 : Covariant return not detected for abstract override property
4 months ago
Siegfried Pammer
3d51d8a581
Fix #3547 : Fix duplicate key in PropertyAndEventBackingFieldLookup
4 months ago
Peter Crabtree
b4fb59ae5d
dev: Standardize ps1 files to tabs
4 months ago
Peter Crabtree
e1e16b64f5
dev: Strip BOM mark from text files
4 months ago
Peter Crabtree
1d082e7128
dev: Standardize on utf-8 (no bom) in .editorconfig
4 months ago
Siegfried Pammer
9a1ebfe3f0
Merge pull request #3544 from petercrabtree/dev/dev-env-clean
...
Minor Dev Environment Fixes (.editorconfig cleanup, typo fix, .gitignore tweak)
4 months ago
Peter Crabtree
471130a83a
dev: expand .vscode/ exclusion in .gitignore
...
Updates the .gitignore file to recursively exclude all .vscode/ directories instead of just the first level
4 months ago
Peter Crabtree
e7a64f3114
dev: Correct typo in ReportExcludedTypes (ilspycmd)
4 months ago
Peter Crabtree
31e83fd9bb
dev: Clean up .editorconfig
4 months ago
Siegfried Pammer
ff247168ec
Reduce code duplication in Metadata tables by introducing a LoadTable method.
4 months ago
Siegfried Pammer
26fdc39c56
Fix #3476 : Scroll position not restored when navigating back
4 months ago
Daniel Grunwald
bd9ee28552
Fix #1789 : missing hyperlink for `MethodGroupResolveResult`.
4 months ago
Daniel Grunwald
587a359e8c
Fix #1873 : Clear ILRange in CopyPropagation
...
We are copying an expression from far away, reusing the ILRange would result in incorrect sequence points.
4 months ago
Daniel Grunwald
02d9dc3e85
Fix #3323 : Simplify cleanup in AwaitInFinallyTransform, ensuring that we do not miss any containers.
4 months ago
Daniel Grunwald
c84605a610
Fix #3468 : Try harder to avoid ref locals if `UseRefLocalsForAccurateOrderOfEvaluation` is not enabled.
...
CopyPropagation will replace `ref StructWithStringField reference = ref array[0];` with:
```
var x = array;
var y = 0;
```
and then every use of `reference` is replaced with `x[y]`.
This lets us avoid rough locals while preserving the semantics in every case except that we re-order when a NullReferenceException/IndexOutOfRangeException occurs.
4 months ago
Daniel Grunwald
317b4e8add
Merge branch 'fix/3465'
4 months ago
Daniel Grunwald
ec58d57875
#3465 : Fix bugs in `comp.o` handling.
4 months ago
Daniel Grunwald
89083eaf48
Fix #3344 : Add support for the `ckfinite` opcode.
4 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.
4 months ago
Daniel Grunwald
8ad33f1e13
Fix #3479 : If YieldReturnDecompiler.ConvertBody fails, abort transforming the state machine instead of continuing with invalid code.
4 months ago
Daniel Grunwald
dd4bf7d8a4
Fix #3518 by replacing `FixLoneIsInst` with an inlining restriction.
...
This way we avoid having to extract later, as we will never inline if the `isinst` argument if this could result in it being unrepresentable in C#.
This commit also refactors inlining restrictions to avoid requiring special cases in ILInlining itself.
But when making this change, I discovered that this broke our pattern-matching tests, and that the weird IL with double `isinst` is indeed generated by the C# compiler for `if (genericParam is StringComparison.Ordinal)` style code. So instead we also allow `isinst` with a `box(expr-without-side-effects)` argument to be represented with the `expr is T ? (T)expr : null` emulation.
4 months ago
Daniel Grunwald
32cb515f9a
Add VSCode launch config.
4 months ago
Daniel Grunwald
83298210e4
#3518 : Add tests that try unboxing to the wrong type in a number of different ways.
4 months ago
Daniel Grunwald
5fb2385671
Fix compiler warnings.
4 months ago
Siegfried Pammer
f4d746eba6
Merge pull request #3472 from ds5678/preincrement-attempt
...
Preincrement improvements
5 months ago