Open
Description
[SkipLocalsInit]
can be used to improve performance - https://github.com/dotnet/roslyn/blob/master/docs/features/skiplocalsinit.md
Runtime applies this attribute on all their assemblies for 5.0 - https://github.com/dotnet/runtime/search?q=SkipLocalsInit
We should investigate whether there are performance gains in dotnet/aspnetcore, and if there are side effects when using the optimization. There are potential safety implications to not initializing locals to zero.