Add additional ByteBufferTest tests #982
Loading…
Reference in a new issue
No description provided.
Delete branch "jonpryor/dev/jonpryor/jonp-more-ByteBuffer-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: https://github.com/dotnet/maui/issues/37782
Context: https://github.com/unoplatform/uno/issues/24036
Context:
608fac6f22/ dotnet/roslyn#958I've been trying to get a project building for iOS+Native AOT, which invariably would error out in
ilc:After quite a bit of investigation, determined that Cecil was apparent cause of the crash, because multiple "involved parties" did not have the fix present in commit
608fac6f, resulting in a "failure cascade":<Csc/>task produces.pdbfileUno
<EmbeddedResourceInjectorTask_v0/>task uses Cecil to update (1), introduces "Invalid compressed integer".illink-- which has its own copy of Cecil, from the dotnet/cecil fork -- consumes (2), turning "Invalid compressed integer" values into different values.ilcprocessespdbproduced from (3), fails withBadImageFormatException: Sequence point value is out of range.A "full stack" fix involves updating Uno to use Mono.Cecil 0.11.6, which contains
608fac6f, and also updatingillinkto also contain the fix from608fac6f. (PR does not yet exist.)However, as part of this investigation, Claude cooked up a patch to dotnet/cecil along with unit test updates to ByteBufferTests. Of interest is that the suggested Claude fix for dotnet/cecil also causes the original ByteBufferTests test from
608fac6fto pass (yay), but not all of the new tests. Meanwhile, jbevain/cecil does pass all of the suggested new tests.Record the new tests for posterity, and to reduce future drift between jbevain/cecil and dotnet/cecil.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.