8 instantiations of ContextHolder
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\ContextHolder.cs (1)
52public IPlatformAgnosticContext Clone() => new ContextHolder<T>() { Context = Context };
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (6)
39RuntimeInfoArchitecture.X86 => new ContextHolder<X86Context>(), 40RuntimeInfoArchitecture.X64 => new ContextHolder<AMD64Context>(), 41RuntimeInfoArchitecture.Arm => new ContextHolder<ARMContext>(), 42RuntimeInfoArchitecture.Arm64 => new ContextHolder<ARM64Context>(), 43RuntimeInfoArchitecture.LoongArch64 => new ContextHolder<LoongArch64Context>(), 44RuntimeInfoArchitecture.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>> 61public bool Equals(ContextHolder<T>? other) 73return 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)
366ContextHolder<X86Context> contextHolder => new X86FrameHandler(_target, contextHolder), 367ContextHolder<AMD64Context> contextHolder => new AMD64FrameHandler(_target, contextHolder), 368ContextHolder<ARMContext> contextHolder => new ARMFrameHandler(_target, contextHolder), 369ContextHolder<ARM64Context> contextHolder => new ARM64FrameHandler(_target, contextHolder), 370ContextHolder<RISCV64Context> contextHolder => new RISCV64FrameHandler(_target, contextHolder), 371ContextHolder<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>();