You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stackalloc expression without an initializer inside SkipLocalsInit may only be used in an unsafe context #127996
{
"ErrorMessage": "stackalloc expression without an initializer inside SkipLocalsInit may only be used in an unsafe context",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Activity
dotnet-policy-service commentedon May 9, 2026
Tagging subscribers to this area: @phil-allen-msft, @333fred
See info in area-owners.md if you want to be subscribed.
agocke commentedon May 9, 2026
That’s a PR, it needs to be fixed before merge.
Also, known build error is useless for actual compiler failures.
EgorBo commentedon May 9, 2026
@agocke why did you close it, it's still there, isn't? My PR is failing in files I didn't touch, see CI in #127995
EgorBo commentedon May 9, 2026
or is it because it's not rebased? 🤔 let me check
EgorBo commentedon May 9, 2026
E.g. https://github.com/dotnet/runtime/blob/main/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X25519DiffieHellmanCng.Windows.cs#L44
it doesn't have an unsafe context so presumably it should fail to compile (and it did in my PR's CI run)