diff --git a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
index 09f5092f0f..697ca18d97 100644
--- a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
+++ b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
@@ -153,7 +153,7 @@
-
+
diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs
index 01edd50d21..7b90338f10 100644
--- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs
+++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs
@@ -1,4 +1,7 @@
using System;
+#if CS120
+using System.Collections.Generic;
+#endif
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
@@ -74,6 +77,12 @@ private static void CallWithIn(in dynamic d)
}
#endif
+#if CS120
+ private static void CallWithRefReadonly(ref readonly Dictionary