Skip to content

Update obsolete api calls in .NET 6#1401

Merged
johnnypham merged 2 commits intodotnet:mainfrom
johnnypham:net6
Nov 23, 2021
Merged

Update obsolete api calls in .NET 6#1401
johnnypham merged 2 commits intodotnet:mainfrom
johnnypham:net6

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.

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