8 instantiations of ContextHolder
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\ContextHolder.cs (1)
51public IPlatformAgnosticContext Clone() => new ContextHolder<T>() { Context = Context };
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (6)
38RuntimeInfoArchitecture.X86 => new ContextHolder<X86Context>(), 39RuntimeInfoArchitecture.X64 => new ContextHolder<AMD64Context>(), 40RuntimeInfoArchitecture.Arm => new ContextHolder<ARMContext>(), 41RuntimeInfoArchitecture.Arm64 => new ContextHolder<ARM64Context>(), 42RuntimeInfoArchitecture.LoongArch64 => new ContextHolder<LoongArch64Context>(), 43RuntimeInfoArchitecture.RiscV64 => new ContextHolder<RISCV64Context>(),
Contracts\StackWalk\FrameHandling\X86FrameHandler.cs (1)
60ContextHolder<X86Context> evalContext = new ContextHolder<X86Context>();
22 references to ContextHolder
Microsoft.Diagnostics.DataContractReader.Contracts (22)
Contracts\StackWalk\Context\ContextHolder.cs (3)
9public sealed class ContextHolder<T> : IPlatformAgnosticContext, IEquatable<ContextHolder<T>> 60public bool Equals(ContextHolder<T>? other) 72return Equals(obj as ContextHolder<T>);
Contracts\StackWalk\FrameHandling\AMD64FrameHandler.cs (2)
10internal class AMD64FrameHandler(Target target, ContextHolder<AMD64Context> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 12private readonly ContextHolder<AMD64Context> _holder = contextHolder;
Contracts\StackWalk\FrameHandling\ARM64FrameHandler.cs (2)
12internal class ARM64FrameHandler(Target target, ContextHolder<ARM64Context> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 14private readonly ContextHolder<ARM64Context> _holder = contextHolder;
Contracts\StackWalk\FrameHandling\ARMFrameHandler.cs (2)
12internal class ARMFrameHandler(Target target, ContextHolder<ARMContext> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 14private readonly ContextHolder<ARMContext> _holder = contextHolder;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (6)
293ContextHolder<X86Context> contextHolder => new X86FrameHandler(_target, contextHolder), 294ContextHolder<AMD64Context> contextHolder => new AMD64FrameHandler(_target, contextHolder), 295ContextHolder<ARMContext> contextHolder => new ARMFrameHandler(_target, contextHolder), 296ContextHolder<ARM64Context> contextHolder => new ARM64FrameHandler(_target, contextHolder), 297ContextHolder<RISCV64Context> contextHolder => new RISCV64FrameHandler(_target, contextHolder), 298ContextHolder<LoongArch64Context> contextHolder => new LoongArch64FrameHandler(_target, contextHolder),
Contracts\StackWalk\FrameHandling\LoongArch64FrameHandler.cs (2)
11internal class LoongArch64FrameHandler(Target target, ContextHolder<LoongArch64Context> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 13private readonly ContextHolder<LoongArch64Context> _holder = contextHolder;
Contracts\StackWalk\FrameHandling\RISCV64FrameHandler.cs (2)
11internal class RISCV64FrameHandler(Target target, ContextHolder<RISCV64Context> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 13private readonly ContextHolder<RISCV64Context> _holder = contextHolder;
Contracts\StackWalk\FrameHandling\X86FrameHandler.cs (3)
10internal class X86FrameHandler(Target target, ContextHolder<X86Context> contextHolder) : BaseFrameHandler(target, contextHolder), IPlatformFrameHandler 12private readonly ContextHolder<X86Context> _context = contextHolder; 60ContextHolder<X86Context> evalContext = new ContextHolder<X86Context>();