|
// <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>ReadyToRunSection</c> type.</summary>
partial class ReadyToRunSection
{
private static readonly string[] _typeNames = new[] { "ReadyToRunSection" };
public TargetPointer Address { get; }
partial void OnInit(Target target, TargetPointer address);
public ReadyToRunSection(Target target, TargetPointer address)
{
Address = address;
LayoutSet layouts = LayoutSet.Resolve(target, _typeNames);
{
layouts.Select(address, out var t, out var b, out var n, "Type");
Type = target.ReadField<uint>(b, t, n);
}
{
layouts.Select(address, out var t, out var b, out var n, "Section");
Section = target.ReadDataField<Data.ImageDataDirectory>(b, t, n);
}
OnInit(target, address);
}
static ReadyToRunSection IData<ReadyToRunSection>.Create(Target target, TargetPointer address)
=> new ReadyToRunSection(target, address);
}
|