Skip to content

Remove reflections in POIFS.Crypt#1160

Merged
tonyqus merged 2 commits into
nissl-lab:aotfrom
karakasa:remove_reflection_poifs_encryption
Aug 29, 2023
Merged

Remove reflections in POIFS.Crypt#1160
tonyqus merged 2 commits into
nissl-lab:aotfrom
karakasa:remove_reflection_poifs_encryption

Conversation

@karakasa
Copy link
Copy Markdown
Contributor

@karakasa karakasa commented Aug 12, 2023

The original code uses dynamic type loading from loaded assemblies. This PR converts it into static dispatch. NPOI.POIFS.Crypt.Agile.AgileEncryptionInfoBuilder is kind of special as it is from the NPOI.OOXML assembly. Annotate the builder method with a DynamicDependency attribute.

@karakasa karakasa changed the title Remove reflections in POIFS.Crypt Remove reflections in POIFS.Crypt and motion to move Agile encryption algo into core library Aug 12, 2023
@karakasa karakasa marked this pull request as ready for review August 12, 2023 06:11
Comment thread main/POIFS/Crypt/EncryptionInfo.cs Outdated
@karakasa karakasa marked this pull request as draft August 13, 2023 03:30
@karakasa karakasa changed the title Remove reflections in POIFS.Crypt and motion to move Agile encryption algo into core library Remove reflections in POIFS.Crypt Aug 13, 2023
@karakasa karakasa marked this pull request as ready for review August 13, 2023 03:53
@tonyqus tonyqus changed the base branch from master to aot August 13, 2023 14:16
@tonyqus tonyqus added this to the NPOI 2.7.1 milestone Aug 13, 2023
@tonyqus tonyqus added the aot label Aug 17, 2023
@tonyqus
Copy link
Copy Markdown
Member

tonyqus commented Aug 29, 2023

LGTM

@tonyqus tonyqus merged commit 0909fdf into nissl-lab:aot Aug 29, 2023
@karakasa karakasa deleted the remove_reflection_poifs_encryption branch August 29, 2023 14:26
@tonyqus tonyqus modified the milestones: NPOI 2.7.1, NPOI AOT May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants