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

Make SafeHandle parameters accept null #143

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Make SafeHandle parameters accept null #143

merged 1 commit into from
Feb 23, 2021

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Feb 23, 2021

This also:

  • adds support for SafeHandles that are 32-bits long even in 64-bit processes (e.g. MSIHANDLE).
  • removes SafeHandle from all extern methods. They only appear on helper methods now.
  • removes the NullSafeHandle static class.

Closes #129

This also:
* adds support for SafeHandles that are 32-bits long even in 64-bit processes (e.g. `MSIHANDLE`).
* removes `SafeHandle` from all `extern` methods. They only appear on helper methods now.
* removes the `NullSafeHandle` static class.

Closes #129
@AArnott AArnott changed the title fix129 Make SafeHandle parameters accept null Feb 23, 2021
@AArnott AArnott self-assigned this Feb 23, 2021
@AArnott AArnott merged commit de0f565 into main Feb 23, 2021
@AArnott AArnott deleted the fix129 branch February 23, 2021 06:26
AArnott pushed a commit that referenced this pull request May 6, 2022
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.0.0 to 17.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v17.0.0...v17.1.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make optional SafeHandle parameters accept null
1 participant