Skip to content

Conversation

@AArnott
Copy link
Collaborator

@AArnott AArnott commented Mar 16, 2023

  • Fix compiler warning that appears with VS 2022 Update 6 preview
  • Remove code to throw an exception
    This fixes a regression introduced in a398f71.
    I misunderstood that the TryAddInternal method always sets the out value even when returning false.

AArnott added 2 commits March 16, 2023 08:00
This fixes a regression introduced in a398f71.
I misunderstood that the `TryAddInternal` method *always* sets the out value even when returning false.
@AArnott AArnott changed the title Fix compiler warning that appears with VS 2022 Update 6 preview Revert change that introduced thread-safety bug Mar 16, 2023
@AArnott AArnott added this to the v2.5 milestone Mar 16, 2023
@AArnott AArnott merged commit cb0ad5d into MessagePack-CSharp:master Mar 16, 2023
@AArnott AArnott deleted the dev/andarno/compilerWarningFix branch March 16, 2023 14:26
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.

1 participant