Environment.ProcessorCount reports process limits, not host cores, since .NET 6
Andrew Lock's platform-specific workarounds (Windows GetActiveProcessorCount, macOS sysctlbyname, Linux /sys/devices/system/cpu/online) recover the actual host processor count.