95 Commits (c32361d46440112815d18cb1a672652550ff0d4f)

Author SHA1 Message Date
Daniel Grunwald c32361d464 #1691: Avoid replacing string.Concat() with operator+ when the evaluation order depends on the compiler version. 6 years ago
Daniel Grunwald fb70a2861e Fix #1656: Disable CopyPropagation for split variables. 6 years ago
Siegfried Pammer e9a020062d Add more RefLocalsAndReturns pretty tests. 6 years ago
Siegfried Pammer b83cb41f2e Add pretty tests for local functions. 6 years ago
Daniel Grunwald 688dffff2b Add some string.Concat()-tests 6 years ago
Siegfried Pammer 29527b804e Fix #1392: LoopDetection should take switch block containers into account in IncludeNestedContainers. 6 years ago
Siegfried Pammer 8480acf9e5 Add StackTests.il test case. 6 years ago
Daniel Grunwald ba8b453b36 Fix #1404: local variables with init flag are not declared in the correct scope 6 years ago
Siegfried Pammer 64686b9547 Fix #1336: multi-dimensional array initializers with custom objects not detected. 7 years ago
Siegfried Pammer cbd824b07e Move array initializer tests from correctness to pretty tests, so that misdetections can be spotted. 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
Daniel Grunwald 4e9121bd28 Add test case for #1304. 7 years ago
Daniel Grunwald e041454987 Add pretty tests for "yield return" and fix some minor bugs: 7 years ago
Siegfried Pammer c9b74865fc Fix #1281: Fix CallBuilder: use expanded form only if overload resolution allows it. 7 years ago
Siegfried Pammer cf1d05042f Add detection of local functions, so we do not hide the methods/display classes. 7 years ago
Siegfried Pammer a823d74004 Use overload resolution to ensure we call the correct indexer + added tests. 7 years ago
Daniel Grunwald 75a627d40b Don't use compound assignment when the RHS value does not fit into the LHS type. 7 years ago
Daniel Grunwald 80e191ae03 Fix missing 'base.' qualifier on non-virtual call to virtual base method. 7 years ago
Siegfried Pammer 57d59a703e Fix await in finally pattern with using statement. 7 years ago
Siegfried Pammer 704eec86ae Add basic unit tests for ref returns, locals and conditional 7 years ago
Siegfried Pammer 96ddabed57 Fix bug in AwaitInFinallyTransform 7 years ago
Siegfried Pammer adda97cf84 Add AwaitInFinallyTransform 7 years ago
Siegfried Pammer 9b665b7cbc Add AwaitInCatchTransform 7 years ago
Siegfried Pammer b400d89f57 Fix #1076; improve detection of mcs switch-on-string pattern 7 years ago
Siegfried Pammer 7544eac5b4 Add support for mcs 2.6.4 switch-on-string 7 years ago
Daniel Grunwald eb6119eb7d Only use mcs for the first compilation pass. Consistently run test cases using .NET 4.x runtime. 7 years ago
Daniel Grunwald 3fae36dab9 Use mcs for correctness tests. 7 years ago
Daniel Grunwald 971e36e7f0 Fix indentation 7 years ago
Daniel Grunwald ca0fa55af8 Implement null propagation transform. 8 years ago
Daniel Grunwald 87a03bde70 Add test case for #981, and fix decompilation of ?: operator on StackType.Ref (necessary to make the testcase compile). 8 years ago
Siegfried Pammer d412de58b9 Commit first test case. 8 years ago
Siegfried Pammer 31f791cc2f Add negative test-case to Correctness/ExpressionTrees.cs 8 years ago
Siegfried Pammer 648e4ec42a First implementation of TransformExpressionTrees 8 years ago
Siegfried Pammer 300c9cc9a9 Do not convert while-true to while-condition loop or do-while loop, if the condition uses a variable that is captured inside the loop. 8 years ago
Daniel Grunwald f155ca4ef6 Fix #938: add support for I4->I stack type adjustments. 8 years ago
Daniel Grunwald e6afe4bf98 Fix #915: ensure that loops are nested correctly 8 years ago
Daniel Grunwald eece44d361 Avoid unnecessary (object) cast when calling myEnum.ToString() 8 years ago
Daniel Grunwald 6d8d37f8fc Add ValueTypeCall foreach testcase. 8 years ago
Siegfried Pammer 43f59b3c4a Add license and source information to MiniJSON.cs 8 years ago
Siegfried Pammer 259e7166c6 #966: Add MiniJSON.cs as correctness test case. Needs further work to make it a pretty test. 8 years ago
Siegfried Pammer dff671b1d1 Fix #963: foreach-over-array mishandles captured variables 8 years ago
Siegfried Pammer fbe4a1b2db Fix #958: Invalid cast in generic class for abstract base call 8 years ago
Daniel Grunwald 40a4f08a8d Add support for compound assignment of short integers. 8 years ago
Daniel Grunwald c7e60a9b3c Avoid using inline assignments if they truncate the input value. 8 years ago
Daniel Grunwald 06227f280c Add StackTypes.il 8 years ago
Siegfried Pammer 23c7a8a46e Fix #953: Missing nullable specifier for array initializer 8 years ago
Daniel Grunwald dd1c509651 Fix #926: missing explicit casts for implicit operators 8 years ago
Daniel Grunwald 0357c81c44 Move stackalloc tests to pretty-tests. 8 years ago
Daniel Grunwald b1bf5cf268 Fix decompilation of `stackalloc`. 8 years ago