Files
Dec2017-Script-Dump/UnityEngine/Bindings/NativeHeaderAttribute.cs
T
2026-06-04 11:42:34 +02:00

34 lines
1019 B
C#

using System;
namespace UnityEngine.Bindings
{
// Token: 0x0200049E RID: 1182
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)]
internal class NativeHeaderAttribute : Attribute, IBindingsHeaderProviderAttribute, IBindingsAttribute
{
// Token: 0x06003AD4 RID: 15060 RVA: 0x0006763C File Offset: 0x0006583C
public NativeHeaderAttribute()
{
}
// Token: 0x06003AD5 RID: 15061 RVA: 0x00067648 File Offset: 0x00065848
public NativeHeaderAttribute(string header)
{
if (header == null)
{
throw new ArgumentNullException("header");
}
if (header == "")
{
throw new ArgumentException("header cannot be empty", "header");
}
this.Header = header;
}
// Token: 0x17000D5E RID: 3422
// (get) Token: 0x06003AD6 RID: 15062 RVA: 0x00067694 File Offset: 0x00065894
// (set) Token: 0x06003AD7 RID: 15063 RVA: 0x000676B0 File Offset: 0x000658B0
public string Header { get; set; }
}
}