diff --git a/ICSharpCode.Decompiler/Tests/TestCases/ControlFlow.cs b/ICSharpCode.Decompiler/Tests/TestCases/ControlFlow.cs index c30260a50..dd81e6443 100644 --- a/ICSharpCode.Decompiler/Tests/TestCases/ControlFlow.cs +++ b/ICSharpCode.Decompiler/Tests/TestCases/ControlFlow.cs @@ -34,7 +34,8 @@ class ControlFlow NormalIf3("test", ref result); Test("none", ref result); Test("test", ref result); - return result; + Console.WriteLine(result); + return 0; } static void EmptyIf(string input, ref int result) diff --git a/ICSharpCode.Decompiler/Tests/TestCases/InitializerTests.cs b/ICSharpCode.Decompiler/Tests/TestCases/InitializerTests.cs index 11b94adba..038bda3e6 100644 --- a/ICSharpCode.Decompiler/Tests/TestCases/InitializerTests.cs +++ b/ICSharpCode.Decompiler/Tests/TestCases/InitializerTests.cs @@ -27,7 +27,9 @@ public class InitializerTests test[0,0] = 0; test[0,1] = 1; test[0,2] = 2; - return test.Length + test[0, 0] + test[0, 2]; + int result = test.Length + test[0, 0] + test[0, 2]; + Console.WriteLine(result); + return 0; } private enum MyEnum diff --git a/ICSharpCode.Decompiler/Tests/TestCases/PropertiesAndEvents.cs b/ICSharpCode.Decompiler/Tests/TestCases/PropertiesAndEvents.cs index dd96da37b..0b833d681 100644 --- a/ICSharpCode.Decompiler/Tests/TestCases/PropertiesAndEvents.cs +++ b/ICSharpCode.Decompiler/Tests/TestCases/PropertiesAndEvents.cs @@ -17,7 +17,7 @@ namespace PropertiesAndEvents i[1] = 2; Console.WriteLine("{0} {1}", i[0], i[5]); Console.WriteLine("PI² = {0}", i.PISquare); - return -1; + return 0; } }