Siegfried Pammer
4b7c82957a
Fix UsingTransform
7 years ago
Siegfried Pammer
3b31930b85
Fix #1071 : Sometimes uses Enumarator instead of Foreach
8 years ago
Daniel Grunwald
aa9f2e7797
Fix interaction of using-transform with ?. operator.
8 years ago
Daniel Grunwald
228419b4f0
Fix interaction of ?. with using-transform.
8 years ago
Siegfried Pammer
2169d44c81
Implement sequence points for using statement.
8 years ago
Daniel Grunwald
6272c21ece
Simplify SwitchOnNullableTransform.
8 years ago
Siegfried Pammer
eaf6163215
UsingTransform: Simplify check for other Store-Instructions
8 years ago
Siegfried Pammer
23bca3713f
Fix #646 : VB-compilers 'For Each In' is not recognized as foreach during decompilation
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
9bdfdd09ff
Add special case for non-generic foreach and add more tests.
8 years ago
Siegfried Pammer
48f344ed03
Add another pattern for generics/nullable using.
8 years ago
Siegfried Pammer
2c40b45717
Add support for using on nullables.
8 years ago
Siegfried Pammer
98e4e3418d
[using] check variable type and variable usage more strictly.
8 years ago
Siegfried Pammer
e2dab8699f
Fix generic using patterns.
8 years ago
Siegfried Pammer
d1a514b451
Redesign of UsingInstruction.
8 years ago
Siegfried Pammer
dfeb39f6ee
TransformForeach: handle optional return statement after loop.
8 years ago
Siegfried Pammer
44687a01e2
Fix bug in UsingTransform: Do not transform to using, if disposable instance is used after the finally block.
8 years ago
Siegfried Pammer
86d3101b22
Add UnwrapNestedContainerIfPossible to reduce block container nesting in foreach pattern.
8 years ago
Siegfried Pammer
d067f0cb6c
Add support for pattern with as-cast to IDisposable.
8 years ago
Siegfried Pammer
31469c8ef1
Implement UsingTransform in ILAst.
8 years ago