-
Notifications
You must be signed in to change notification settings - Fork 314
Merge | TdsParserStateObject lifetime-related methods #3394
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
base: main
Are you sure you want to change the base?
Merge | TdsParserStateObject lifetime-related methods #3394
Conversation
Also move ReadSyncOverAsync down in netcore's TdsParserStateObjectNative to aid later merge
Also reorder member in TdsParserStateObjectNative to simplify later merge
This also allows _writePacketCache to be migrated to TdsParserStateObjectNative in netfx.
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@edwardneal ahh I'm sorry I didn't look at this soon enough and now it needs a conflct resolved. I'd do it myself but then I can't approve it. |
Thanks @benrr101, I've just re-merged. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
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, thank you for moving methods per commit!
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObjectNative.cs
Show resolved
Hide resolved
This is now merged to address the conflicts from #3469. Could I have a CI run please? |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
This allows TdsParser.netfx.cs to be deleted
Merged to address the conflicts from #3535. This also allowed the removal of TdsParser.netfx.cs. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@edwardneal I'm going to kick the failing tests again, but if the macos tests keeps failing, you might need to merge from main now that #3591 is merged |
Description
We're now merging the lifetime-related methods on TdsParserStateObject in netfx, making them abstract and pushing them down to the derived TdsParserStateObjectNative class. This also handles some slightly unusual logic in
CreatePhysicalSNIHandle
, sincespns
is a string in netfx and a string array in netcore. I've needed to merge this type handling too.Commit 469d840 onwards moves method-by-method. I've moved:
Relates to #1261.