21 references to TargetArchitectureSupport
Microsoft.Diagnostics.DataContractReader.Contracts (21)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (7)
47
if (
TargetArchitectureSupport
.IsX86Supported && architecture == RuntimeInfoArchitecture.X86)
50
if (
TargetArchitectureSupport
.IsX64Supported && architecture == RuntimeInfoArchitecture.X64)
53
if (
TargetArchitectureSupport
.IsArmSupported && architecture == RuntimeInfoArchitecture.Arm)
56
if (
TargetArchitectureSupport
.IsArm64Supported && architecture == RuntimeInfoArchitecture.Arm64)
59
if (
TargetArchitectureSupport
.IsLoongArch64Supported && architecture == RuntimeInfoArchitecture.LoongArch64)
62
if (
TargetArchitectureSupport
.IsRiscV64Supported && architecture == RuntimeInfoArchitecture.RiscV64)
65
if (
TargetArchitectureSupport
.IsWasmSupported && architecture == RuntimeInfoArchitecture.Wasm)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (7)
579
if (
TargetArchitectureSupport
.IsX86Supported && context is ContextHolder<X86Context> x86Context)
582
if (
TargetArchitectureSupport
.IsX64Supported && context is ContextHolder<AMD64Context> x64Context)
585
if (
TargetArchitectureSupport
.IsArmSupported && context is ContextHolder<ARMContext> armContext)
588
if (
TargetArchitectureSupport
.IsArm64Supported && context is ContextHolder<ARM64Context> arm64Context)
591
if (
TargetArchitectureSupport
.IsRiscV64Supported && context is ContextHolder<RISCV64Context> riscV64Context)
594
if (
TargetArchitectureSupport
.IsLoongArch64Supported && context is ContextHolder<LoongArch64Context> loongArch64Context)
597
if (
TargetArchitectureSupport
.IsWasmSupported && context is ContextHolder<WasmContext> wasmContext)
CoreCLRContracts.cs (7)
66
RuntimeInfoArchitecture.X64 when
TargetArchitectureSupport
.IsX64Supported => new GCInfo_1<AMD64GCInfoTraits>(t),
67
RuntimeInfoArchitecture.X86 when
TargetArchitectureSupport
.IsX86Supported => new GCInfoX86_1(t),
68
RuntimeInfoArchitecture.Arm64 when
TargetArchitectureSupport
.IsArm64Supported => new GCInfo_1<ARM64GCInfoTraits>(t),
69
RuntimeInfoArchitecture.Arm when
TargetArchitectureSupport
.IsArmSupported => new GCInfo_1<ARMGCInfoTraits>(t),
70
RuntimeInfoArchitecture.LoongArch64 when
TargetArchitectureSupport
.IsLoongArch64Supported => new GCInfo_1<LoongArch64GCInfoTraits>(t),
71
RuntimeInfoArchitecture.RiscV64 when
TargetArchitectureSupport
.IsRiscV64Supported => new GCInfo_1<RISCV64GCInfoTraits>(t),
72
RuntimeInfoArchitecture.Wasm when
TargetArchitectureSupport
.IsWasmSupported => new GCInfo_1<WasmGCInfoTraits>(t),