See discussion in https://github.com/dotnet/runtimelab/issues/2606#issuecomment-2157109050 This will cause access violation when these thread statics are accessed.