npoi
npoi copied to clipboard
Remove reflections on enums & dereference Enums.NET
Prepare NPOI for AOT, p1.
Why dereference Enums.NET? Is it using reflection?
Yes. And the lib isn't annotated with AOT attributes so the trimmer cannot preserve enums' metadata.
https://github.com/TylerBrinkley/Enums.NET/blob/a35664d000fb3e7c4f75ec303b8dc419837ab0d4/Src/Enums.NET/Enums.cs#L106C1-L110C7