41 Commits (eae6e21ee5c434c5ed4837f70dbe5f0013b33712)

Author SHA1 Message Date
apmoskevitz 30421e7309 added notnullwhen annotations 10 months ago
apmoskevitz ef8e709ecc applied fixer for drect assignment from null 10 months ago
Siegfried Pammer 427fbcd8c0 Fix general using statement pattern 1 year ago
Siegfried Pammer a5ed5ec5cb Support types that provide DisposeAsync without implementing IAsyncDisposable. 1 year ago
Siegfried Pammer 0a2037ae1f #3075: Avoid processing already-transformed blocks by introducing BlockTransformContext.IndexOfFirstAlreadyTransformedInstruction, which allows us to track already transformed instructions after a block has been merged into another by ConditionDetection. 2 years ago
Daniel Grunwald f568123704 Add support for UTF8 string literals 2 years ago
Daniel Grunwald b823955ad6 Fix mcs-5 foreach/using pattern when C# 7 (pattern matching) is not enabled. 2 years ago
ElektroKill c8fd044706
Fix `UsingTranform` for inlined `isinst` variation (refs #2199) 3 years ago
Daniel Grunwald 08ceffc3ad Upgrade dotnet-format from version 5 to the version included with the .NET (6) SDK. 3 years ago
Siegfried Pammer 96db0a5472 Add support for pattern matching in UsingTransform. 4 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 5 years ago
Siegfried Pammer 562699fc94 Add support for C# 8.0 await foreach 5 years ago
Siegfried Pammer dab70964a5 Add support for C# 8.0 disposable ref structs 5 years ago
Daniel Grunwald 2acc4339df #2058: Mark most transforms as public to help users that use the ILAst directly without decompiling to C#. 5 years ago
Siegfried Pammer c7f98a4db7 Add support for await using statements. 6 years ago
Daniel Grunwald 57b725df79 Fix #1655: Incorrect pointer cast when calling method on integer constant 6 years ago
Daniel Grunwald 856cedc95e #1456: add test case; add additional checks to ensure we only transform normal locals into using/foreach-locals 6 years ago
Daniel Grunwald beed6b5e24 Remove MarkGeneratedVariables() step in AsyncAwaitDecompiler. 6 years ago
Siegfried Pammer c1fca21e8a Make ILRange field private - introduce public API for IL range manipulation. 7 years ago
Siegfried Pammer dd2a2af31d Extend UsingTransform.CheckResourceType to support non-generic System.Collections.IDictionaryEnumerator. 7 years ago
Siegfried Pammer 2ac532b470 Fix MatchDisposeCheck 7 years ago
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: 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