Fix .NET Native AOT warnings in Protobuf reflection (#11128)
The fixes from https://github.com/protocolbuffers/protobuf/pull/10978. This PR can be merged without updating the SDK. Will allow people to use Protobuf + AOT sooner rather than later. When the repo is updated to .NET 7 or .NET 8, the original PR can be rebased on latest to add AOT analysis and provide some AOT smoke tests. cc @jskeet Closes #11128 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11128 from JamesNK:jamesnk/enable-aot-analysis-2 51ed1bd9109278c21a954181b5dbe4030fe5c4bc PiperOrigin-RevId: 503077675
Loading
Please sign in to comment