|
// <auto-generated/>
#nullable enable
using Microsoft.Diagnostics.DataContractReader;
using Microsoft.Diagnostics.DataContractReader.Contracts;
using Microsoft.Diagnostics.DataContractReader.Generated;
namespace Microsoft.Diagnostics.DataContractReader.Data;
/// <summary>Wraps the <c>InterpreterFrame</c> type.</summary>
partial class InterpreterFrame
{
private static readonly string[] _typeNames = new[] { "InterpreterFrame" };
public TargetPointer Address { get; }
partial void OnInit(Target target, TargetPointer address);
public InterpreterFrame(Target target, TargetPointer address)
{
Address = address;
LayoutSet layouts = LayoutSet.Resolve(target, _typeNames);
{
layouts.Select(address, out var t, out var b, out var n, "TopInterpMethodContextFrame");
TopInterpMethodContextFrame = target.ReadPointerField(b, t, n);
}
{
layouts.Select(address, out var t, out var b, out var n, "IsFaulting");
IsFaulting = target.ReadField<byte>(b, t, n) != 0;
}
OnInit(target, address);
}
static InterpreterFrame IData<InterpreterFrame>.Create(Target target, TargetPointer address)
=> new InterpreterFrame(target, address);
}
|