﻿// Decompiled with JetBrains decompiler
// Type: System.StubHelpers.CopyCtorStubCookie
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll

using System;
using System.Runtime;

namespace System.StubHelpers
{
  [ForceTokenStabilization]
  internal struct CopyCtorStubCookie
  {
    public IntPtr m_srcInstancePtr;
    public uint m_dstStackOffset;
    public IntPtr m_ctorPtr;
    public IntPtr m_dtorPtr;
    public IntPtr m_pNext;

    [ForceTokenStabilization]
    public void SetData(IntPtr srcInstancePtr, uint dstStackOffset, IntPtr ctorPtr, IntPtr dtorPtr)
    {
      this.m_srcInstancePtr = srcInstancePtr;
      this.m_dstStackOffset = dstStackOffset;
      this.m_ctorPtr = ctorPtr;
      this.m_dtorPtr = dtorPtr;
    }

    [ForceTokenStabilization]
    public void SetNext(IntPtr pNext)
    {
      this.m_pNext = pNext;
    }
  }
}
