Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>2022-09-26 16:46:11 +0300
committerGitHub <noreply@github.com>2022-09-26 16:46:11 +0300
commit52e77ba4ba8843973696c1f69559fb8e73d99c89 (patch)
tree981e5dd913dbbe7c9e7466f27a5139f10e22d34a /src/libraries
parent315bdd4c138491df154e84b98ba7fae72ca8b83b (diff)
Do it like in `OperatingSystem`. (#76172)
Diffstat (limited to 'src/libraries')
-rw-r--r--src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/RuntimeInformation.cs21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/RuntimeInformation.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/RuntimeInformation.cs
index 8f97a5a660c..281b00f0c8b 100644
--- a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/RuntimeInformation.cs
+++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/RuntimeInformation.cs
@@ -53,27 +53,28 @@ namespace System.Runtime.InteropServices
public static Architecture ProcessArchitecture
#if TARGET_X86
- => Architecture.X86;
+ => Architecture.X86
#elif TARGET_AMD64
- => Architecture.X64;
+ => Architecture.X64
#elif TARGET_ARMV6
- => Architecture.Armv6;
+ => Architecture.Armv6
#elif TARGET_ARM
- => Architecture.Arm;
+ => Architecture.Arm
#elif TARGET_ARM64
- => Architecture.Arm64;
+ => Architecture.Arm64
#elif TARGET_WASM
- => Architecture.Wasm;
+ => Architecture.Wasm
#elif TARGET_S390X
- => Architecture.S390x;
+ => Architecture.S390x
#elif TARGET_LOONGARCH64
- => Architecture.LoongArch64;
+ => Architecture.LoongArch64
#elif TARGET_POWERPC64
- => Architecture.Ppc64le;
+ => Architecture.Ppc64le
#elif TARGET_RISCV64
- => (Architecture)9; // TODO-RISCV64: go though API review for RiscV64
+ => (Architecture)9 // TODO-RISCV64: go though API review for RiscV64
#else
#error Unknown Architecture
#endif
+ ;
}
}