Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bgen] Make the generated code check for zero handle before creating …
…an INativeObject wrapper instance. Fixes part of dotnet#18452. Also don't create the instance directly from third-party bindings, the required constructor might not be public - use Runtime.GetINativeObject instead. Fixes part 4 of dotnet#18452.
- Loading branch information