Skip to content

Conversation

@BorisDog
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 19, 2025 19:03
@BorisDog BorisDog requested a review from a team as a code owner November 19, 2025 19:03
@BorisDog BorisDog requested review from ajcvickers and sanych-sun and removed request for ajcvickers November 19, 2025 19:03
@BorisDog BorisDog added the improvement Optimizations or refactoring (no new features or fixes). label Nov 19, 2025
Copilot finished reviewing on behalf of BorisDog November 19, 2025 19:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds explicit constructor overloads for byte and sbyte types to the Decimal128 struct to ensure compatibility with .NET 10, where implicit type conversion behavior may have changed.

  • Adds Decimal128(sbyte) constructor with proper negative value and edge case handling
  • Adds Decimal128(byte) constructor for unsigned byte values

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@sanych-sun sanych-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BorisDog BorisDog merged commit 1ef7fcc into mongodb:main Nov 19, 2025
32 of 35 checks passed
@BorisDog BorisDog deleted the csharp5786 branch November 19, 2025 19:47
sanych-sun pushed a commit to sanych-sun/mongo-csharp-driver that referenced this pull request Nov 19, 2025
sanych-sun added a commit that referenced this pull request Nov 19, 2025
…bility with net10 (#1819) (#1820)

(cherry picked from commit 1ef7fcc)

Co-authored-by: BorisDog <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Optimizations or refactoring (no new features or fixes).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants