21 references to TargetArchitectureSupport
Microsoft.Diagnostics.DataContractReader.Contracts (21)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (7)
47if (TargetArchitectureSupport.IsX86Supported && architecture == RuntimeInfoArchitecture.X86) 50if (TargetArchitectureSupport.IsX64Supported && architecture == RuntimeInfoArchitecture.X64) 53if (TargetArchitectureSupport.IsArmSupported && architecture == RuntimeInfoArchitecture.Arm) 56if (TargetArchitectureSupport.IsArm64Supported && architecture == RuntimeInfoArchitecture.Arm64) 59if (TargetArchitectureSupport.IsLoongArch64Supported && architecture == RuntimeInfoArchitecture.LoongArch64) 62if (TargetArchitectureSupport.IsRiscV64Supported && architecture == RuntimeInfoArchitecture.RiscV64) 65if (TargetArchitectureSupport.IsWasmSupported && architecture == RuntimeInfoArchitecture.Wasm)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (7)
579if (TargetArchitectureSupport.IsX86Supported && context is ContextHolder<X86Context> x86Context) 582if (TargetArchitectureSupport.IsX64Supported && context is ContextHolder<AMD64Context> x64Context) 585if (TargetArchitectureSupport.IsArmSupported && context is ContextHolder<ARMContext> armContext) 588if (TargetArchitectureSupport.IsArm64Supported && context is ContextHolder<ARM64Context> arm64Context) 591if (TargetArchitectureSupport.IsRiscV64Supported && context is ContextHolder<RISCV64Context> riscV64Context) 594if (TargetArchitectureSupport.IsLoongArch64Supported && context is ContextHolder<LoongArch64Context> loongArch64Context) 597if (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),