Skip to content

Conversation

@grendello
Copy link
Contributor

Update the MonoVM and CoreCLR p/invoke dispatch tables to
include changes in .NET10, as of version 10.0.0-preview.6.25274.104

@grendello grendello requested a review from Copilot May 26, 2025 11:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the p/invoke dispatch tables for both MonoVM and CoreCLR to reflect new .NET10 changes (version 10.0.0-preview.6.25274.104). Key changes include:

  • Increasing the dotnet_pinvokes array size from 477 to 491.
  • Adding several new p/invoke entries (e.g., BrotliDecoderAttachDictionary, BrotliEncoderPrepareDictionary, etc.).
  • Removing the deprecated SystemNative_SetWindowSize entry.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/native/mono/pinvoke-override/pinvoke-tables.include Updated array size and added new pinvoke entries for MonoVM.
src/native/mono/pinvoke-override/generate-pinvoke-tables.cc Added new p/invoke names and removed SystemNative_SetWindowSize to match the updated dispatch table.
src/native/clr/host/pinvoke-tables.include Updated CLR table size and new entries added along with removal of obsolete ones.
src/native/clr/host/generate-pinvoke-tables.cc Adjusted the generated list to include new names and remove the outdated entry.
Comments suppressed due to low confidence (1)

src/native/mono/pinvoke-override/generate-pinvoke-tables.cc:396

  • Verify that the removal of 'SystemNative_SetWindowSize' from the generated list is intentional and that no existing consumers rely on this entry.
"SystemNative_SetWindowSize",

Update the MonoVM and CoreCLR p/invoke dispatch tables to include
changes in .NET10, as of version `10.0.0-preview.6.25274.104`
@grendello grendello force-pushed the dev/grendel/update-pinvokes-net10 branch from 4d7a8cc to 819f382 Compare May 26, 2025 13:48
@grendello grendello merged commit 0f8d36a into main May 27, 2025
59 checks passed
@grendello grendello deleted the dev/grendel/update-pinvokes-net10 branch May 27, 2025 12:07
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants