21 references to TargetArchitectureSupport
Microsoft.Diagnostics.DataContractReader.Contracts (21)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (7)
51
if (
TargetArchitectureSupport
.IsX86Supported && architecture == RuntimeInfoArchitecture.X86)
54
if (
TargetArchitectureSupport
.IsX64Supported && architecture == RuntimeInfoArchitecture.X64)
57
if (
TargetArchitectureSupport
.IsArmSupported && architecture == RuntimeInfoArchitecture.Arm)
60
if (
TargetArchitectureSupport
.IsArm64Supported && architecture == RuntimeInfoArchitecture.Arm64)
63
if (
TargetArchitectureSupport
.IsLoongArch64Supported && architecture == RuntimeInfoArchitecture.LoongArch64)
66
if (
TargetArchitectureSupport
.IsRiscV64Supported && architecture == RuntimeInfoArchitecture.RiscV64)
69
if (
TargetArchitectureSupport
.IsWasmSupported && architecture == RuntimeInfoArchitecture.Wasm)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (7)
590
if (
TargetArchitectureSupport
.IsX86Supported && context is ContextHolder<X86Context> x86Context)
593
if (
TargetArchitectureSupport
.IsX64Supported && context is ContextHolder<AMD64Context> x64Context)
596
if (
TargetArchitectureSupport
.IsArmSupported && context is ContextHolder<ARMContext> armContext)
599
if (
TargetArchitectureSupport
.IsArm64Supported && context is ContextHolder<ARM64Context> arm64Context)
602
if (
TargetArchitectureSupport
.IsRiscV64Supported && context is ContextHolder<RISCV64Context> riscV64Context)
605
if (
TargetArchitectureSupport
.IsLoongArch64Supported && context is ContextHolder<LoongArch64Context> loongArch64Context)
608
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),