34 lines
945 B
C#
34 lines
945 B
C#
using System;
|
|
|
|
namespace UnityEngine.Bindings
|
|
{
|
|
// Token: 0x0200049F RID: 1183
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field)]
|
|
internal class NativeNameAttribute : Attribute, IBindingsNameProviderAttribute, IBindingsAttribute
|
|
{
|
|
// Token: 0x06003AD8 RID: 15064 RVA: 0x000676BC File Offset: 0x000658BC
|
|
public NativeNameAttribute()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06003AD9 RID: 15065 RVA: 0x000676C8 File Offset: 0x000658C8
|
|
public NativeNameAttribute(string name)
|
|
{
|
|
if (name == null)
|
|
{
|
|
throw new ArgumentNullException("name");
|
|
}
|
|
if (name == "")
|
|
{
|
|
throw new ArgumentException("name cannot be empty", "name");
|
|
}
|
|
this.Name = name;
|
|
}
|
|
|
|
// Token: 0x17000D5F RID: 3423
|
|
// (get) Token: 0x06003ADA RID: 15066 RVA: 0x00067714 File Offset: 0x00065914
|
|
// (set) Token: 0x06003ADB RID: 15067 RVA: 0x00067730 File Offset: 0x00065930
|
|
public string Name { get; set; }
|
|
}
|
|
}
|