8 references to WasmContext
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (1)
70return new ContextHolder<WasmContext>();
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
608if (TargetArchitectureSupport.IsWasmSupported && context is ContextHolder<WasmContext> wasmContext) 855RuntimeInfoArchitecture.Wasm => WasmContext.InterpreterWalkFramePointerRegister,
Contracts\StackWalk\FrameHandling\WasmFrameHandler.cs (5)
26internal sealed class WasmFrameHandler(Target target, ContextHolder<WasmContext> contextHolder) 33private readonly ContextHolder<WasmContext> _holder = contextHolder; 68if (!_holder.Context.TrySetRegister(WasmContext.InterpreterWalkFramePointerRegister, new TargetNUInt(next.Address.Value))) 69throw new InvalidOperationException($"Failed to set WASM interpreter frame-pointer register '{WasmContext.InterpreterWalkFramePointerRegister}'."); 77ContextHolder<WasmContext> saved = new();