diff --git a/HarmonyTests/IL/Instructions.cs b/HarmonyTests/IL/Instructions.cs index 5ba4ce97..5b2b63a1 100644 --- a/HarmonyTests/IL/Instructions.cs +++ b/HarmonyTests/IL/Instructions.cs @@ -267,8 +267,9 @@ static void Normalize(MethodBody body) Assert.AreEqual(expectedIL, transpiledBody); } + // Doesn't seem to properly work on dotnet 6 test runner +#if false [Test] - [Ignore("Doesn't work on .NET 6 emulating .NET 4.5 FW API")] public void FixIssue45() { if (AccessTools.IsMonoRuntime) @@ -283,5 +284,6 @@ public void FixIssue45() Assert.AreEqual(29, new ILManipulator(body, false).GetRawInstructions().Count()); } +#endif } }