Skip to content

Refactor Crc64 type #769

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

Merged
merged 1 commit into from
Jan 4, 2021
Merged

Conversation

radekdoulik
Copy link
Member

Context: dotnet/android#5451

Split the code to static helper class, which can be used from
Java.Interop.Tools.TypeNameMappings.JavaNativeTypeManager.GetPackageName.

This way the linker can strip the whole
System.Security.Cryptography.Primitives assembly out of simple XA
apps.

The Crc64 is still needed in XA, so we still keep it based
on System.Security.Cryptography.HashAlgorithm.

Context: dotnet/android#5451

Split the code to static helper class, which can be used from
`Java.Interop.Tools.TypeNameMappings.JavaNativeTypeManager.GetPackageName`.

This way the linker can strip the whole
`System.Security.Cryptography.Primitives` assembly out in simple XA
apps.

The `Crc64` is still needed in XA, so we still keep it based
on `System.Security.Cryptography.HashAlgorithm`.
@grendello grendello merged commit 7d197f1 into dotnet:master Jan 4, 2021
@jpobst jpobst added this to the 11.2 (16.10 / 8.10) milestone Jan 5, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants