Set AssemblyName.ProcessorArchitecture for compatibility. (#80581)
authorVladimir Sadov <vsadov@microsoft.com>
Wed, 18 Jan 2023 06:04:07 +0000 (22:04 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Jan 2023 06:04:07 +0000 (22:04 -0800)
commit69045adc0934c9f0ac2d04c57da8ce1acab0a0ad
tree09cba4f20e85d82d03b22b503f693935c7348c36
parent19fc478d67c2fc55e62b50676935f903a77f5a4d
Set AssemblyName.ProcessorArchitecture for compatibility. (#80581)

* Set AssemblyName.ProcessorArchitecture for compatibility.

* Simplified ProcArch computation.
src/coreclr/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/MetadataReader.netstandard.cs
src/libraries/System.Reflection.Metadata/tests/Metadata/MetadataReaderTests.cs