Removed erroneous use of 'PROCESSOR_ARCHITECTURE' Enviroment variable (#22743)
authorJohn <johnkellyoxford@gmail.com>
Sat, 23 Feb 2019 17:08:00 +0000 (17:08 +0000)
committerAndy Ayers <andya@microsoft.com>
Sat, 23 Feb 2019 17:08:00 +0000 (09:08 -0800)
commit333232d98639df980133205c41791cb9dc7f3d34
treea470c6369ad19bb657c62a3564dee49f61498e51
parent56da27b66c9463f0a28b2427aabbe2af0614efdc
Removed erroneous use of 'PROCESSOR_ARCHITECTURE' Enviroment variable (#22743)

Removed erroneous use of 'PROCESSOR_ARCHITECTURE' Enviroment variable

Changed all uses of 'Enviroment.GetEnviromentVariable("PROCESSOR_ARCHITECTURE")'
to usage of 'System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture'
and 'enum System.Runtime.InteropServices.Architecture'.

Fix #22694
tests/src/GC/Performance/Tests/Allocation.cs
tests/src/JIT/Directed/intrinsic/pow/pow1.cs
tests/src/JIT/Methodical/doublearray/dblarray1.cs
tests/src/JIT/Methodical/doublearray/dblarray2.cs
tests/src/JIT/Methodical/doublearray/dblarray3.cs
tests/src/JIT/Methodical/doublearray/dblarray4.cs