Daniel Grunwald
109b6d073a
Allow detecting exit points across multiple levels of containers.
4 years ago
Daniel Grunwald
2419c2641a
StatementBuilder.TransformToForeach: allow both `break;` and `return;` within the using body
4 years ago
Daniel Grunwald
a716828065
Remove redundant code from RemoveRedundantReturn.cs
4 years ago
Siegfried Pammer
1f0f6404e0
Fix #2231 : Add support for ldloca; dup; initobj pattern used by Roslyn.
4 years ago
Daniel Grunwald
685a79dc31
DetectExitPoints: introduce exit points for loops+switch
...
This allows reverting the changes to HighLevelLoopTransform+ReduceNestingTransform from the previous commit, which fixes a bug in loop detection (the previous commit did not handle loops where the loop BlockContainer didn't have a Block as parent).
4 years ago
Daniel Grunwald
bbaddf84cc
Fix #2424 : Suppress the string==null special-case within the string class itself.
4 years ago
Siegfried Pammer
62fc4bc1a3
Fix #1858 , Fix #2188 : Remove variables that contain copies of display-class variables.
4 years ago
Siegfried Pammer
a78b592bf6
Fix #2052 : resolve XML namespaces of properties
4 years ago
Daniel Grunwald
6757295b3b
Fix #2379 : Keep `return` statements around in original form for ConditionDetection, only transform to fall-through block-exit at the end of the transform pipeline.
...
This fixes an issue where `return` statements within try-blocks could turn into `goto` statements.
4 years ago
Siegfried Pammer
3c6961a944
Set version to final 7.1.
4 years ago
Marcel Wiessler
6a34df5cd0
fix string <> int convertion error
4 years ago
Siegfried Pammer
2048273881
Merge pull request #2386 from DarkOoze/master
...
Fix invalid il from identifiers containing repeating dots
4 years ago
Anders Hörnfeldt
9747a2b359
Escape identifiers containing repeating dots
4 years ago
Anders Hörnfeldt
b45c0099ef
Refactor for readability
4 years ago
Siegfried Pammer
584d1847df
Fix #2405 : Assertion fail in TDCU
4 years ago
Siegfried Pammer
e886e390fa
Merge pull request #2423 from icsharpcode/christophwille/wappler
...
Add <SkipImportNetSdk>
4 years ago
Christoph Wille
f9dea6baa5
Add <SkipImportNetSdk>True</SkipImportNetSdk> as per https://developercommunity2.visualstudio.com/t/Desktop-Bridge-wapproj-wont-deploy-with/1400477
4 years ago
Siegfried Pammer
2d65deffda
Fix frontends.sln build.
4 years ago
Siegfried Pammer
ce199fad13
Fixed regression around foreach-on-string introduced in 16134e52e4
4 years ago
Siegfried Pammer
ba39dd5c55
Fix #2354 : decompilation of unary and binary operators with nullable value types.
4 years ago
Siegfried Pammer
db6b085484
Fix #2417 : ilspycmd is crashing if no valid ICU package is found
4 years ago
Daniel Grunwald
715968e02a
Fix potential NullReferenceException in UniversalAssemblyResolver
4 years ago
Daniel Grunwald
7f36cc3e50
#nullable enable for UniversalAssemblyResolver
4 years ago
Daniel Grunwald
55ab2a1739
Adjust RecordDecompiler to changes in Roslyn 3.10.0
4 years ago
Daniel Grunwald
407ec6be5b
Adjust AsyncAwaitDecompiler to Roslyn 3.9.0.
4 years ago
Siegfried Pammer
dc400fb700
Merge pull request #2408 from yyjdelete/issue2406
...
Fix #2406 : for readonly property with only getter, move readonly to property instead of getter
4 years ago
Siegfried Pammer
c90c0786b6
Do not add readonly modifier to accessors/properties/events if TSAB.ShowModifiers is false.
4 years ago
Siegfried Pammer
bfb6a49d2b
Merge pull request #2418 from icsharpcode/realpath-fix
...
Fix bug in DotNetCorePathFinder on Unix systems: realpath always returned garbage.
4 years ago
Siegfried Pammer
0ae95333e5
Fix bug in DotNetCorePathFinder on Unix systems: realpath always returned garbage.
4 years ago
Daniel Grunwald
108c5f643e
Fix #2413 : Avoid global state in `TokenRole`.
...
We can already compactly store a `TokenRole` via the index+lookup in the `Role` base class.
The lookup in the base class is thread-safe; the one removed here was not.
4 years ago
Siegfried Pammer
f876f55b51
Merge pull request #2412 from tom-englert/issue#2409
...
Fix #2409 : Styling of windows title bar is now optional.
4 years ago
tom-englert
b1e4322906
Fix #2409 : Styling of windows title bar is now optional.
4 years ago
Daniel Grunwald
46e9f633ca
#enable nullable in AssemblyList + DecompilerTextView
4 years ago
Daniel Grunwald
bd700e11a3
Fix #2402 : ArgumentNullException in IL mode for tooltips when decompiling bundle members.
4 years ago
Daniel Grunwald
163eb71886
Fix #2403 : Implement support for NotifyCollectionChangedAction.Replace
4 years ago
Daniel Grunwald
f327668928
Fix #2407 : Operator '-' cannot be applied to operand of type 'nuint'
4 years ago
SilverFox
65ea2e7af6
Fix #2406 : for readonly property with only getter, move readonly to property instead of getter
4 years ago
Siegfried Pammer
d92dd153fc
#2390 : Make sure all unused captured variables are removed even in lambdas.
4 years ago
Siegfried Pammer
e20ace0098
Fix build.
4 years ago
Siegfried Pammer
d54016ce8f
#2390 : Add support for generic object initializers.
4 years ago
Christoph Wille
7a0b3c9f7b
Surface a few of the Wiki articles in the Features section
4 years ago
Siegfried Pammer
16134e52e4
Fix #2395 : Do not use for->foreach transform if collection is not an array.
4 years ago
Siegfried Pammer
aa147870a2
Fix #2389 : missing extern keyword for properties and events.
4 years ago
Daniel Grunwald
710c17fee2
switch expressions: use same brace style as object initializers
4 years ago
Daniel Grunwald
d917a3706b
Fix #2396 : Extend the #1903 workaround to unconstrained generic types.
...
The logic in the `FixLoneIsInst` transform already handled this correctly, it's just the check in the `isinst` translation that handled the `IsReferenceType == null` case incorrectly.
4 years ago
Daniel Grunwald
bd9aabeae2
Update to dotnet-format 5.1.225507.
...
This makes the formatting expected by our CI consistent with that generated by VS2019.9.
4 years ago
Daniel Grunwald
1292ff70d9
Fix #2391 : mark method as unsafe when passing `null` to a parameter of pointer type.
4 years ago
Daniel Grunwald
aae27900dc
Fix #2398 : TranslateCondition: truncate condition value if necessary
4 years ago
Daniel Grunwald
8d70d63dba
#2392 : Avoid some redundant casts with the `?:` operator.
4 years ago
Daniel Grunwald
f7460a041e
Merge pull request #2376 from joshuacookdev-forks/AddVSConfig
...
Added .vsconfig to solution
4 years ago