Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update MonoMod.Core to 1.2.2 to address net9 issue #637

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<HarmonyVersion>2.3.3.0</HarmonyVersion>
<HarmonyPrerelease></HarmonyPrerelease>
<MonoModCoreVersion>1.2.1</MonoModCoreVersion>
<MonoModCoreVersion>1.2.2</MonoModCoreVersion>
</PropertyGroup>

</Project>
4 changes: 4 additions & 0 deletions HarmonyTests/IL/TestMethodBodyReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ public void Test_CanGetInstructionsWithNoILGenerator()
#else
Assert.AreEqual("System.Reflection.LocalVariableInfo", instrNoGen.argument.GetType().FullName, "w/o generator argument type @ {0} ({1})", i, instrNoGen);
#endif
#if NET9_0_OR_GREATER
Assert.AreEqual(Type.GetType("System.Reflection.Emit.RuntimeLocalBuilder"), instrHasGen.argument.GetType(), "w/ generator argument type @ {0} ({1})", i, instrNoGen);
#else
Assert.AreEqual(typeof(LocalBuilder), instrHasGen.argument.GetType(), "w/ generator argument type @ {0} ({1})", i, instrNoGen);
#endif
}
}
}
Expand Down
Loading