From cfe7cb656773749a8fdc85905641bc4fff1a8acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Sat, 9 Apr 2022 16:16:46 +0900 Subject: [PATCH] Remove Roslyn workaround in NativeAOT smoke test Might not be needed after #67780. --- src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs b/src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs index 616a46827045b7..8e66461adb161c 100644 --- a/src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs +++ b/src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs @@ -941,15 +941,12 @@ static void TestSimpleInterface(string expected) where T : ISimple throw new Exception($"{actual} != {expected}"); } - // Uncomment after we pick up fix for https://github.com/dotnet/roslyn/issues/60069 -#if false Func del = T.GetCookie; actual = del(); if (actual != expected) { throw new Exception($"{actual} != {expected}"); } -#endif } static void TestSimpleInterfaceWithGenericMethod(string expected) where T : ISimple