Skip to content

Commit 46b77d0

Browse files
committed
Fix compilation error
1 parent 1089fc4 commit 46b77d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

HarmonyTests/IL/Instructions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,9 @@ static void Normalize(MethodBody body)
267267
Assert.AreEqual(expectedIL, transpiledBody);
268268
}
269269

270+
// Doesn't seem to properly work on dotnet 6 test runner
271+
#if false
270272
[Test]
271-
[Ignore("Doesn't work on .NET 6 emulating .NET 4.5 FW API")]
272273
public void FixIssue45()
273274
{
274275
if (AccessTools.IsMonoRuntime)
@@ -283,5 +284,6 @@ public void FixIssue45()
283284

284285
Assert.AreEqual(29, new ILManipulator(body, false).GetRawInstructions().Count());
285286
}
287+
#endif
286288
}
287289
}

0 commit comments

Comments
 (0)