Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Nov 13, 2022
1 parent 1089fc4 commit 46b77d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HarmonyTests/IL/Instructions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -283,5 +284,6 @@ public void FixIssue45()

Assert.AreEqual(29, new ILManipulator(body, false).GetRawInstructions().Count());
}
#endif
}
}

0 comments on commit 46b77d0

Please sign in to comment.