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