Improve EnclaveDiffieHellmanInfo.Size#4346
Merged
Merged
Conversation
Parenthesize `??` as `+` binds stronger
cheenamalhotra
previously approved these changes
Jun 9, 2026
paulmedynski
requested changes
Jun 9, 2026
paulmedynski
left a comment
Contributor
There was a problem hiding this comment.
Please uncomment the Debug.Assert()s that you mentioned, and let's see what happens :) The PR pipelines compile and run the tests in Debug configuration.
auto-merge was automatically disabled
June 9, 2026 19:24
Head branch was pushed to by a user without write access
paulmedynski
approved these changes
Jun 10, 2026
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
cheenamalhotra
approved these changes
Jun 10, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4346 +/- ##
==========================================
- Coverage 66.55% 64.04% -2.51%
==========================================
Files 285 280 -5
Lines 43311 66162 +22851
==========================================
+ Hits 28824 42371 +13547
- Misses 14487 23791 +9304
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Parenthesize
??as+binds strongerPerhaps this let's us uncomment the following
Debug.Asserts?Let me know if I should try uncomment the asserts and see if CI is green.
SqlClient/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/VirtualSecureModeEnclaveProvider.cs
Lines 156 to 157 in 7721c98
SqlClient/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/AzureAttestationBasedEnclaveProvider.cs
Lines 211 to 212 in 7721c98
Issues
Testing
Guidelines
Please review the contribution guidelines before submitting a pull request: