Siegfried Pammer
8740e2413d
Remove redundant namespace usage.
7 years ago
Siegfried Pammer
5b7e1b844f
Fix #1327 : BlockBuilder: ILRange was not set on last block of outer containers, if there were nested containers, such as try/finally.
7 years ago
Siegfried Pammer
667e04462a
Fix #1325 : Do not perform inline assignment transform on setter calls, that belong to parameterized properties.
7 years ago
Siegfried Pammer
091dc25a82
Fix #1340 : Update local function check to match latest version of Roslyn.
7 years ago
Siegfried Pammer
1854a33749
Fix #1340 : infinite recursion in DelegateConstruction due to recursive local function being mistreated as delegate construction.
7 years ago
Siegfried Pammer
14f3544a2b
#1341 : force DecompilerSettings.LoadInMemory = true, in all CSharpDecompiler ctors that take a filename.
7 years ago
Christoph Wille
0905cf74ac
Fix https://docs.microsoft.com/en-us/nuget/reference/nuspec#license (license url being deprecated)
7 years ago
Daniel Grunwald
b5ab8a4622
Fix #1338 : KeyNotFoundException in SwitchDetection.AnalyzeControlFlow()
7 years ago
Siegfried Pammer
b9f179465d
Fix part 1 of #1292 : switch on string inside try-block not recognized.
7 years ago
Siegfried Pammer
9c3122a7fa
Synchronize package refs in nuspec with csproj.
...
Set version to 'beta3'
7 years ago
Siegfried Pammer
589dde4ed3
Fix redundant casts on constant expressions.
7 years ago
Siegfried Pammer
7919ce8dd7
TSAB: Add option to display integral literals as hexadecimal numbers.
7 years ago
Siegfried Pammer
2c00afcccb
Fix CallBuilder.IsPrimitiveValueThatShouldBeNamedArgument
7 years ago
Siegfried Pammer
20dec3e3f1
Fix possible null reference.
7 years ago
Siegfried Pammer
fd0d898703
#1330 : add more exception handling to CSharpDecompiler, so an entity that caused decompilation to fail can easier be identified.
7 years ago
Siegfried Pammer
fac1a4d115
Fix #1311 : Methods in .winmd files compiled from C# don't show up in individual method view in ILSpy 4.
...
Add an option to disable application of WinRT projections.
7 years ago
Siegfried Pammer
00194f8c03
Fix unit tests.
7 years ago
Siegfried Pammer
224b183e98
Fix IntroduceUnsafeModifier.VisitStackAllocExpression: size expression might contain pointer type or resolve result might be null.
7 years ago
Siegfried Pammer
112719efaf
Extend safety-checks in TransformSpanTCtorContainingStackAlloc.
7 years ago
Siegfried Pammer
0dac55d584
Add transformation for stackalloc to Span<T>.
7 years ago
Daniel Grunwald
4a3185c823
#907 : Add tests
7 years ago
Daniel Grunwald
e990d5ac00
Revert the 'unwrapBoxingConversion' addition to TranslateTarget(), I ended up solving the boxing issue directly in HandleDelegateConstruction()
7 years ago
Daniel Grunwald
b455286ad3
Fix #1333 : Ensure we convert to the correct type when calling instance methods on value types
7 years ago
Siegfried Pammer
0545025705
Add back support for ".other" method references in disassembler, as it is now supported by SRM.
7 years ago
Siegfried Pammer
f43e26f87c
Fix #1329 : AssertionFailedException: Should not insert using declaration for namespace that is missing from the superset: System.Windows.Markup
7 years ago
Siegfried Pammer
86329349ba
Fix #1332 : DecompileMemberBodies: Cannot mutate frozen NullBlockStatement
7 years ago
Siegfried Pammer
6c193ac50e
Fix #1323 : NRE in DetectBestEnumValueDisplayMode; emit error message, if enum field definition has no constant value.
7 years ago
Daniel Grunwald
b307fc0a81
Fix VisitLdcI4 when HintType=bool.
7 years ago
Siegfried Pammer
188bac4e55
Possible fix for primitive types resolving to MinimalCorlib types in navigateTo handling.
7 years ago
Siegfried Pammer
982c71efb2
Fix implementation of CallBuilder.IsOptionalArgument by converting the ResolveResult to the parameter type.
7 years ago
Siegfried Pammer
b18653ba82
Fix #1319 : Property name collides with variable name
7 years ago
Daniel Grunwald
3cbadb7134
Fix #1301 : casts were unnecessarily marked as unchecked
7 years ago
Daniel Grunwald
21040c8bde
Don't emit "virtual" modifier in interfaces (C# 8 default interface members).
7 years ago
Daniel Grunwald
0a9df3d373
Fix #1252 : Incorrect comparison type for lifted comparisons in expression trees.
7 years ago
Daniel Grunwald
29e69e46ef
Revert "#1252: Do not accidentally create casts to object?."
...
This reverts commit 27b075ae7a .
7 years ago
Daniel Grunwald
6a417eab97
#1252 : Eliminate more types of redundant casts
7 years ago
Daniel Grunwald
b33d338558
Fix #1308 : Consider type hint in ldc.i8 translation.
7 years ago
Daniel Grunwald
35a0ee2263
Fix #1309 : Decompilation of dynamic casts.
7 years ago
Daniel Grunwald
e041454987
Add pretty tests for "yield return" and fix some minor bugs:
...
* remove redundant casts on yield-return-expression
* keep variable name from metadata for foreach loops
* fix 'yield break;' in nested try-finally sometimes causing a decompiler error
7 years ago
Daniel Grunwald
ed631cc7d3
Fix #1307 : some of the blocks made unreachable by the yield-return-transform were not deleted
...
This had the effect of leaving behind error comments despite the yield-return transform being successful.
7 years ago
Daniel Grunwald
5d394b7786
Refactor PR #1303 to make the ConvertBranchAfterYieldReturn logic easier to understand
7 years ago
Siegfried Pammer
44aa391a85
Fix bug in CallBuilder.
7 years ago
Siegfried Pammer
ee584f3260
Fix bug in string interpolation handling.
7 years ago
Siegfried Pammer
c9b74865fc
Fix #1281 : Fix CallBuilder: use expanded form only if overload resolution allows it.
7 years ago
Siegfried Pammer
892a4da6cc
Fix #1287 : Analysis 'applied to' of Attribute not working on special attributes
7 years ago
Siegfried Pammer
12122841c6
Fix bug in MetadataMethod.GetAttributes and add tests for PreserveSig in DllImportAttribute and PreserveSigAttribute.
7 years ago
Wenxuan Zhao
3e937cf7cb
Fix delegate in yield return issue for assembly compiled with Mono
7 years ago
Wenxuan Zhao
9228e0102c
Fix yield return for assembly compiled with Mono
7 years ago
Daniel Grunwald
ef866040b4
Update to SRM 1.6.0 and Roslyn 2.9. Adjust decompiler to new code pattern used for lifted nullable comparisons.
7 years ago
Daniel Grunwald
12e74daf48
Handle Comp in InferType().
7 years ago