|
// <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>System.Runtime.InteropServices.ComWrappers+NativeObjectWrapper</c> type.</summary>
partial class NativeObjectWrapper
{
private static readonly string[] _typeNames = new[] { "System.Runtime.InteropServices.ComWrappers+NativeObjectWrapper" };
public static TypeHandle TypeHandle(Target target)
=> TypeNameResolver.GetTypeHandle(target, _typeNames);
public TargetPointer Address { get; }
partial void OnInit(Target target, TargetPointer address);
public NativeObjectWrapper(Target target, TargetPointer address)
{
Address = address;
OnInit(target, address);
}
static NativeObjectWrapper IData<NativeObjectWrapper>.Create(Target target, TargetPointer address)
=> new NativeObjectWrapper(target, address);
}
|