21 references to TargetArchitectureSupport
Microsoft.Diagnostics.DataContractReader.Contracts (21)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (7)
51if (TargetArchitectureSupport.IsX86Supported && architecture == RuntimeInfoArchitecture.X86) 54if (TargetArchitectureSupport.IsX64Supported && architecture == RuntimeInfoArchitecture.X64) 57if (TargetArchitectureSupport.IsArmSupported && architecture == RuntimeInfoArchitecture.Arm) 60if (TargetArchitectureSupport.IsArm64Supported && architecture == RuntimeInfoArchitecture.Arm64) 63if (TargetArchitectureSupport.IsLoongArch64Supported && architecture == RuntimeInfoArchitecture.LoongArch64) 66if (TargetArchitectureSupport.IsRiscV64Supported && architecture == RuntimeInfoArchitecture.RiscV64) 69if (TargetArchitectureSupport.IsWasmSupported && architecture == RuntimeInfoArchitecture.Wasm)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (7)
590if (TargetArchitectureSupport.IsX86Supported && context is ContextHolder<X86Context> x86Context) 593if (TargetArchitectureSupport.IsX64Supported && context is ContextHolder<AMD64Context> x64Context) 596if (TargetArchitectureSupport.IsArmSupported && context is ContextHolder<ARMContext> armContext) 599if (TargetArchitectureSupport.IsArm64Supported && context is ContextHolder<ARM64Context> arm64Context) 602if (TargetArchitectureSupport.IsRiscV64Supported && context is ContextHolder<RISCV64Context> riscV64Context) 605if (TargetArchitectureSupport.IsLoongArch64Supported && context is ContextHolder<LoongArch64Context> loongArch64Context) 608if (TargetArchitectureSupport.IsWasmSupported && context is ContextHolder<WasmContext> wasmContext)
CoreCLRContracts.cs (7)
66RuntimeInfoArchitecture.X64 when TargetArchitectureSupport.IsX64Supported => new GCInfo_1<AMD64GCInfoTraits>(t), 67RuntimeInfoArchitecture.X86 when TargetArchitectureSupport.IsX86Supported => new GCInfoX86_1(t), 68RuntimeInfoArchitecture.Arm64 when TargetArchitectureSupport.IsArm64Supported => new GCInfo_1<ARM64GCInfoTraits>(t), 69RuntimeInfoArchitecture.Arm when TargetArchitectureSupport.IsArmSupported => new GCInfo_1<ARMGCInfoTraits>(t), 70RuntimeInfoArchitecture.LoongArch64 when TargetArchitectureSupport.IsLoongArch64Supported => new GCInfo_1<LoongArch64GCInfoTraits>(t), 71RuntimeInfoArchitecture.RiscV64 when TargetArchitectureSupport.IsRiscV64Supported => new GCInfo_1<RISCV64GCInfoTraits>(t), 72RuntimeInfoArchitecture.Wasm when TargetArchitectureSupport.IsWasmSupported => new GCInfo_1<WasmGCInfoTraits>(t),