Daniel Grunwald
f1021cb300
Fix #1643 : Handle unbox.any in TransformCatchVariable.
7 years ago
Siegfried Pammer
03151bf37b
Remove redundant code in ExpressionTransforms.VisitBlockContainer
7 years ago
Siegfried Pammer
81e702f840
#1638 : Make TransformDisplayClassUsage.IsPotentialClosure less aggressive
7 years ago
Siegfried Pammer
9c06d5c924
Fix #1642 : Allow StackTypes I, I4, I8 and Unknown as switch value, convert Unknown and I to I8.
7 years ago
Siegfried Pammer
7502e521c1
Improve documentation of ExpressionTransforms.TransformCatchVariable
7 years ago
Siegfried Pammer
a9bb17aba9
Make it possible to search by full name without including generic type parameters.
7 years ago
Siegfried Pammer
44c044aa33
Fix #1635 : DynamicInvokeConstructorInstruction Did report the wrong StackType for value types and unknown types.
7 years ago
Siegfried Pammer
85d1d21b35
Fix possible NRE in DynamicCallSiteTransform.ExtractArgumentInfo.
7 years ago
Siegfried Pammer
8d2e8cc267
Fix #1628 : Preserve order of child nodes in PatternStatementTransform.VisitBinaryOperatorExpression.
7 years ago
Daniel Grunwald
cdc7a3641f
Fix references to nested types in generic classes.
7 years ago
Daniel Grunwald
c1510027df
Show attributes on type parameter constraints in C# decompilation.
7 years ago
Daniel Grunwald
152aa2a21b
IL Disassembler: show attributes on constraints
...
dotnet/coreclr#25488
7 years ago
Daniel Grunwald
7afa86d90c
Add support for "where T : notnull" constraint.
7 years ago
Siegfried Pammer
e5d603ced2
Fix #1632 : await pattern might use negated IsCompleted check.
7 years ago
Siegfried Pammer
84b9f1c4f4
Fix #1514 : Allow StackType.I8 and StackType.I4 in HandleManagedPointerArithmetic (ref [+-] int).
7 years ago
Siegfried Pammer
587f61be19
Fix #1280 : Transform RuntimeHelpersInitializeArray calls without receiving assignments.
7 years ago
Siegfried Pammer
13fa499c35
Fix #1630 : Do not convert while to for statement, if any iterator variables are to be declared in the loop body. This causes problems with ref-typed variables.
7 years ago
Siegfried Pammer
f49cc11c76
Fix #1627 : Allow constants as targets of dynamic calls.
7 years ago
Siegfried Pammer
87353aac5a
Fix #1624 : Stack type mismatch in expression trees.
7 years ago
Siegfried Pammer
4246a178f4
Remove unused parameter.
7 years ago
Siegfried Pammer
fdf4228a17
Fix #1623 : Nest local functions correctly, if captured variables are used.
7 years ago
Siegfried Pammer
3ad8c88d39
Fix #1622 : Transform local functions calls with named arguments correctly
7 years ago
Siegfried Pammer
e1bc205d3a
Add support for strong-name keys in WholeProjectDecompiler and RoundtripAssembly tests.
7 years ago
Siegfried Pammer
123e570128
Fix warning about doc comment.
7 years ago
Daniel Grunwald
89ea6c3675
Fix TypeErasure not removing all nullability annotations.
7 years ago
Siegfried Pammer
6ecd99f893
Fix #1618 : Unwrap in-arguments, when converting method calls to operators.
7 years ago
Daniel Grunwald
84aaaeb84e
Fix #1616 : similar to 3ea2ce4e2d, let `a.Instructions[i] = a.Instructions[i]` refresh that instruction's primary position.
7 years ago
Siegfried Pammer
6b075326f0
Fix #1615 : Handle nil tokens gracefully.
7 years ago
Daniel Grunwald
62a0046043
Fix #1371 : assertion on invalid I4->O conversion.
7 years ago
Siegfried Pammer
72c3e828f3
Check IsPure before Match.
7 years ago
Daniel Grunwald
4bc15e0911
Fix build.
...
Visual Studio really ought to save project changes sooner...
7 years ago
Daniel Grunwald
2b9a40371b
Remove the dead LoopingTransform.
...
Make ILInstruction.IsDirty debug-only, as it is only used for assertions now.
7 years ago
Siegfried Pammer
c477ccf68e
Add SemanticHelper.IsPure check as per code-review.
7 years ago
Siegfried Pammer
fa7c1f574a
Do not convert simple LINQ method calls to LINQ expressions. Closes #1501 .
7 years ago
Siegfried Pammer
9358ea6d73
Fix ReadCodeMappingInfo for delegates that are embedded in the declaring type, not a nested type.
7 years ago
Siegfried Pammer
0d92ee805c
#1349 : Insert conv instruction in expression tree, if inst.ResultType != typeHint.GetStackType()
7 years ago
Siegfried Pammer
3ea2ce4e2d
#1349 : Fix assertions triggered by incorrect reset implementation in TransformThrowExpressionsValueTypes. ILInstruction.SetChildInstruction should only return early, if index and parent are still the same.
7 years ago
Siegfried Pammer
6526363cb3
#1349 : Fix exception in HandleDelegateConstruction, if the target of NewObj is not a delegate.
7 years ago
Siegfried Pammer
0ca5ace524
#1349 : Fix assertions triggered by incorrect local function decompilation.
7 years ago
Siegfried Pammer
c148ba6609
Fix build.
7 years ago
Siegfried Pammer
7fb3c51326
Suppress warnings in release mode as well, to speed up build process.
7 years ago
Siegfried Pammer
1531302c8d
Fix #1611 : Always remove the initializedObj dummy expression in CallBuilder.BuildDictionaryInitializerExpression
7 years ago
Siegfried Pammer
667ac1a980
Fix #1538 : Insert expression.tree.cast instructions to coerce references to outer expression tree parameter definitions to their actual type.
7 years ago
Siegfried Pammer
a3dbc27f76
Fix #1573 : if the expected type of the this argument of an expression tree call is unknown, insert an explicit conv *->unknown instruction
7 years ago
Daniel Grunwald
5177c56d88
Reject MoveNext() methods with more than one cachedStateVar.
7 years ago
Daniel Grunwald
3f996ff2c0
Fix #1604 : async methods that had no 'await' but were capturing 'this' were not decompiled correctly
7 years ago
Siegfried Pammer
679623e4c3
Fix #1609 : Decompilation of cached delegate-construction with unknown delegate type.
7 years ago
Siegfried Pammer
dbd70d1879
#1025 : Extend GetSymbol(this AstNode) to support LdVirtDelegate
7 years ago
Daniel Grunwald
fc73851bb4
#1610 : Slightly more aggressive copy propagation.
...
This helps clean up the mess left behind when stack slots are not eliminated by the normal transforms.
We previously didn't do this because aggressive copy propagation could confuse the normal transforms; but this is no longer an issue with the new pass ordering.
7 years ago
Siegfried Pammer
423e553c6a
Fix #545 : Add hyperlink to ctor method on parentheses in attributes
7 years ago