using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppSystem;

// Token: 0x0200016B RID: 363
public class LanguageLabelAttribute : Attribute
{
	// Token: 0x1700194E RID: 6478
	// (get) Token: 0x060044CE RID: 17614 RVA: 0x0010F9BC File Offset: 0x0010DBBC
	public unsafe string Text
	{
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LanguageLabelAttribute.NativeMethodInfoPtr_get_Text_Public_get_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}
	}

	// Token: 0x060044CF RID: 17615 RVA: 0x0010FA08 File Offset: 0x0010DC08
	[CallerCount(20)]
	[CachedScanResults(RefRangeStart = 16547, RefRangeEnd = 16567, XrefRangeStart = 16547, XrefRangeEnd = 16567, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe LanguageLabelAttribute(string text)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr))
	{
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(text);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LanguageLabelAttribute.NativeMethodInfoPtr__ctor_Public_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060044D0 RID: 17616 RVA: 0x0010FA6C File Offset: 0x0010DC6C
	// Note: this type is marked as 'beforefieldinit'.
	static LanguageLabelAttribute()
	{
		Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "LanguageLabelAttribute");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr);
		LanguageLabelAttribute.NativeFieldInfoPtr__Text_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr, "<Text>k__BackingField");
		LanguageLabelAttribute.NativeMethodInfoPtr_get_Text_Public_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr, 100667577);
		LanguageLabelAttribute.NativeMethodInfoPtr__ctor_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LanguageLabelAttribute>.NativeClassPtr, 100667578);
	}

	// Token: 0x060044D1 RID: 17617 RVA: 0x0010FAD8 File Offset: 0x0010DCD8
	public LanguageLabelAttribute(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700194D RID: 6477
	// (get) Token: 0x060044D2 RID: 17618 RVA: 0x0010FAE4 File Offset: 0x0010DCE4
	// (set) Token: 0x060044D3 RID: 17619 RVA: 0x0010FB0D File Offset: 0x0010DD0D
	public unsafe string _Text_k__BackingField
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LanguageLabelAttribute.NativeFieldInfoPtr__Text_k__BackingField);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LanguageLabelAttribute.NativeFieldInfoPtr__Text_k__BackingField), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x04002CDA RID: 11482
	private static readonly IntPtr NativeFieldInfoPtr__Text_k__BackingField;

	// Token: 0x04002CDB RID: 11483
	private static readonly IntPtr NativeMethodInfoPtr_get_Text_Public_get_String_0;

	// Token: 0x04002CDC RID: 11484
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_0;
}
