-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Merge | TdsParserStateObject alignment #2073
Conversation
AddError(_parser.ProcessSNIError(this)); | ||
ThrowExceptionAndWarning(callerHasConnectionLock, false); | ||
ThrowExceptionAndWarning(callerHasConnectionLock, asyncClose); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was a bug introduced in 1766.
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2073 +/- ##
==========================================
+ Coverage 69.89% 70.61% +0.71%
==========================================
Files 305 305
Lines 61944 61950 +6
==========================================
+ Hits 43297 43743 +446
+ Misses 18647 18207 -440
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Making TdsParserStateObject.cs look closer between netcore and netfx prior to actual merge.
This was done by going through a diff between netfx and netcore TdsParserStateObject.cs and merging the easy items like code formatting, typos, white space, trace messages, simple variable refactor.
This diff should be easy to digest for PR reviewers. 5-10 minutes.