Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation (#1286)

This commit is contained in:
Justin Kotalik 2017-12-05 15:17:15 -08:00 committed by GitHub
parent cf46dfcc5e
commit 9f1e6607dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
{
get
{
return RuntimeInformation.OSArchitecture == Architecture.X64
|| RuntimeInformation.OSArchitecture == Architecture.Arm64;
return Environment.Is64BitOperatingSystem;
}
}