netstandard2.0, the SDK injects polyfills for modern C# features. The polyfill source files are maintained in ANcpLua.Roslyn.Utilities as the single source of truth.
Opt-out Control
All polyfills are enabled by default. Disable individual categories or all at once:Polyfills are only injected for
netstandard2.0 / netstandard2.1 targets.
.NET 10 projects don’t need them.