feO2x / Light.GuardClauses

A lightweight .NET library for expressive Guard Clauses.
MIT License
85 stars 8 forks source link

Native AOT analysis #88

Closed feO2x closed 11 months ago

feO2x commented 1 year ago

We should analyze the docs for Native AOT and extend the library with additional attributes to indicate which methods should not be called in Native AOT scenarios:

https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net8plus%2Cwindows https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming?pivots=dotnet-8-0