Skip to content

Make SafeHandle parameters accept null - #143

Merged
Andrew Arnott (AArnott) merged 1 commit into
mainfrom
fix129
Feb 23, 2021
Merged

Andrew Arnott (AArnott) merged 1 commit into
mainfrom
fix129

Conversation

@AArnott

@AArnott Andrew Arnott (AArnott) commented Feb 23, 2021 •

Copy link
Copy Markdown
Member

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 Andrew Arnott (AArnott) changed the title fix129 Make SafeHandle parameters accept null Feb 23, 2021
@AArnott
Andrew Arnott (AArnott) merged commit de0f565 into main Feb 23, 2021
Andrew Arnott (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] <[email protected]>

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