Repository navigation
Public API | Align ref and implementation assemblies - #4832
Merged
paulmedynski merged 2 commits intoOct 20, 2026
Merged
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
priyankatiwari08
requested changes
Oct 13, 2026
priyankatiwari08
left a comment
Contributor
There was a problem hiding this comment.
Ref/impl alignment checks out against src (TriggerAction values, ctors, sealed types, CanCreateParameter).
- Minor: add a netfx unit test for the new
Add(string, object)overload.
Contributor
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
paulmedynski
previously approved these changes
Oct 13, 2026
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #4832 +/- ##
==========================================
- Coverage 72.40% 65.32% -7.09%
==========================================
Files 292 286 -6
Lines 45471 68600 +23129
==========================================
+ Hits 32924 44814 +11890
- Misses 12547 23786 +11239
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:
|
paulmedynski
enabled auto-merge (squash)
October 14, 2026 17:05
paulmedynski
approved these changes
Oct 14, 2026
priyankatiwari08
approved these changes
Oct 15, 2026
priyankatiwari08
left a comment
Contributor
There was a problem hiding this comment.
Looks good — netfx Add(string, object) test addresses my earlier comment.
Contributor
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
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
This provides a set of corrections to the SqlClient ref assemblies which can be reviewed prior to the updated 8.0[-preview1] release date. I've separated these fixes from the underlying ApiCompat guard in the interests of time.
Changes:
SqlBatchCommand.CanCreateParameter.sealedmodifier to various classes.The first three of the above changes are technically source-breaking.
Issues
This relates to #4826 - apologies for pre-empting triage. This issue contains the full list of API changes.
Testing
In all cases but one, these are compile-time ref assembly changes and so aren't covered by tests. In the case of
SqlParameterCollection.Add, the new netfx method passes directly through toAddWithValueand is covered by that method's test coverage.