Skip to content

Conversation

@teo-tsirpanis
Copy link

.NET 5 has introduced System.Runtime.CompilerServices.SkipLocalsInitAttribute that signals Roslyn to disable zero-initialization of variables. I bumped the target framework to .NET 6 to take advantage of this feature (hope there's no problem with that), and replaced Fody LocalsInit weaver with this attribute.

I also removed some obsolete analyzer packages, they are now built-in in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant