Daniel Grunwald
a4d4c1253e
Fix two minor bugs in NullableLiftingTransform, and enable the LiftedOperators tests that are not affected by redundant casts.
8 years ago
Daniel Grunwald
30aa3bd42f
Fix missing cast in signed uint<int comparison.
8 years ago
Daniel Grunwald
8533eda92b
Use unary negation '-a' instead of '0 - a'.
8 years ago
Daniel Grunwald
8e634bc23c
[nullables] Fix unnecessary casts in nullable compound assignments.
8 years ago
Daniel Grunwald
af40871225
Avoid unnecessary casts in comparison operators.
8 years ago
Siegfried Pammer
9ab7651201
Fix #895 : Wrong decompilation of references to inner struct in class.
8 years ago
Siegfried Pammer
ee6034b392
AddXmlDocumentationTransform: Do not crash if there is no metadata token on the current member. (Example value__ field in enum declarations).
8 years ago
Siegfried Pammer
1ebc7581d8
Fix IsUsedAsThisPointerInCall: if we deal with an unspecified generic type, we assume it's a value type as ldloca should be allowed as this pointer in those cases.
8 years ago
Daniel Grunwald
39bb6856b7
Fix various bugs with compound assignments.
8 years ago
Daniel Grunwald
61900e33c3
[nullables] Lifted compound assignments
8 years ago
Daniel Grunwald
af8993f641
Leave off '.Invoke' when calling delegates.
8 years ago
Siegfried Pammer
7d53070f9b
Add more correctness tests and fix bug in UnwrapNestedContainerIfPossible.
8 years ago
Siegfried Pammer
2cc0b65d41
Fix refresh of DisplaySettings in TextEditor.
8 years ago
Siegfried Pammer
34d288c934
Fix folding for comments. No foldings were added for comments inside of types.
8 years ago
Siegfried Pammer
6f5737cbfa
Add pretty test for captured variable in foreach loop.
8 years ago
Siegfried Pammer
6fb12b351f
Improve VariableIsOnlyUsedInBlock in case of more complex foreach-loops.
8 years ago
Siegfried Pammer
cbe05e7fa0
Add/move some foreach test cases.
8 years ago
Siegfried Pammer
a62e13a035
Improve detection of foreach-using in UsingTransform:
The C# compiler only expects:
- EnumeratorType GetEnumerator(); on the type of the in-expression.
- EnumeratorType must implement the following members:
* bool MoveNext();
* T Current { get; }
8 years ago
Siegfried Pammer
ea9b47a137
Fix #889 : Invalid variable inlining in foreach
- Improve documentation of StatementBuilder.TransformToForeach.
8 years ago
Daniel Grunwald
33e5011367
[nullables] support equality comparisons on System.Decimal
8 years ago
Daniel Grunwald
bb3ad5c811
[nullables] Lift user-defined equality operator calls if only one argument is nullable.
8 years ago
Daniel Grunwald
87a979b549
[nullables] Lift user-defined equality operator calls.
8 years ago
Siegfried Pammer
2857a8dcf9
ad #885 and #886 : add more tests
8 years ago
Daniel Grunwald
846c8613b0
[async] Delete dead ldloc(cachedStateVar).
8 years ago
Siegfried Pammer
b1bb6ee41e
Merge pull request #886 from mohe2015/test-async-fix
Fix failed decompilation of catch-when if the method is async.
8 years ago
mohe2015
ccdeded6ba
Fix failed decompilation of catch-when if the method is async.
8 years ago
Siegfried Pammer
b5e46c3545
Fix #882 : Invalid assignment code after decompiling
8 years ago
Siegfried Pammer
6c414cedd3
Fix #883 : Incorrect decompilation of explicitly implemented events
8 years ago
Siegfried Pammer
b5308bb748
Merge #794 : Enabled "Per monitor DPI awareness"
I had to extract the files manually, because we use app.config.template instead of app.config directly.
8 years ago
Siegfried Pammer
19503bf084
Merge branch 'OndrejPetrzilka-sort_results'
8 years ago
Siegfried Pammer
3d6299d1bf
Merge branch 'sort_results' of https://github.com/OndrejPetrzilka/ILSpy into OndrejPetrzilka-sort_results
# Conflicts:
# ILSpy/Options/DisplaySettings.cs
# ILSpy/SearchPane.cs
# ILSpy/SearchStrategies.cs
8 years ago
Daniel Grunwald
ba009e790d
Fix #880 : NullReferenceException in NullableLiftingTransform.
8 years ago
Daniel Grunwald
cf5f3738a9
Fix performance issue due to aggressive debug checks that was causing AppVeyor to time-out.
8 years ago
Daniel Grunwald
a6c6ddcea1
Fix #861 : Improved loop exit point heuristic.
8 years ago
Daniel Grunwald
1d029b36cb
Fix build.
8 years ago
Siegfried Pammer
c118a24cbf
Use Humanizer in GenerateForeachVariableName
8 years ago
Daniel Grunwald
a6559d941b
Allow inlining into object/collection initializers.
8 years ago
Daniel Grunwald
7017c6f6e6
Replace LoopingBlockTransform with StatementTransform.
This transform interleaves statement-combining transforms so that nested structures can be detected better.
8 years ago
Siegfried Pammer
7d78331e0f
Fix #854 : Inconsistent annotations: ILVariable vs. ILVariableResolveResult
8 years ago
Siegfried Pammer
8daab2dfb2
Fix #755 : Search doesn't work on nested classes
8 years ago
Siegfried Pammer
37d29f4042
Persist selected search mode in SessionSettings.
8 years ago
Siegfried Pammer
63cb56b996
Improve AssignVariableNames.IsPlural
8 years ago
Siegfried Pammer
e61d25107d
Fix #865 : When Search Constant get to NRE
8 years ago
Siegfried Pammer
6763fb29dd
Remove conditions from targets imports.
8 years ago
Siegfried Pammer
7efe204b47
Add instructions on building and contributing to README.md; Make ICSharpCode.Decompiler.csproj work properly with VSmac.
8 years ago
Siegfried Pammer
692a1e8e35
Fix #878 : InvalidCastException in StatementBuilder.TransformToForeach
8 years ago
Siegfried Pammer
dd3e5e1dce
Merge pull request #877 from icsharpcode/using
Using
8 years ago
Siegfried Pammer
b7f86d11b7
Use ICSharpCode.Decompiler project reference in ICSharpCode.Decompiler.Console
8 years ago
Siegfried Pammer
c09c4ee404
Fix annotations on identifiers and use correct check for fallback case.
8 years ago
Siegfried Pammer
9bdfdd09ff
Add special case for non-generic foreach and add more tests.
8 years ago