using System;
using System.Diagnostics;
namespace SpaceWizards.Sodium.Interop
{
/// Defines the base type of a struct as it was in the native signature.
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
[Conditional("DEBUG")]
internal sealed partial class NativeInheritanceAttribute : Attribute
{
private readonly string _name;
/// Initializes a new instance of the class.
/// The name of the base type that was inherited from in the native signature.
public NativeInheritanceAttribute(string name)
{
_name = name;
}
/// Gets the name of the base type that was inherited from in the native signature.
public string Name => _name;
}
}