Skip to content

Conversation

}

#if NETFRAMEWORK
/// <summary>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This method is only called in netfx. In net5, accessing the PrivateKey property throws an exception. Now in net6, it won't even compile, so we can just compile it for netfx.

@DavoudEshtehari
Copy link
Contributor

I found more usages should be updated. Check from here.

@johnnypham
Copy link
Contributor Author

I found more usages should be updated. Check from here.

Updated those too.

@johnnypham johnnypham merged commit 6c6c76c into dotnet:main Nov 23, 2021
@johnnypham johnnypham deleted the net6 branch November 24, 2021 17:54
DavoudEshtehari added a commit to DavoudEshtehari/SqlClient that referenced this pull request Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants