using System;
using Cpp2IlInjected;

namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
	// Token: 0x0200060E RID: 1550
	[Token(Token = "0x200060E")]
	internal sealed class ResizableArray<T>
	{
		// Token: 0x170003BA RID: 954
		// (get) Token: 0x060030E7 RID: 12519 RVA: 0x00066ABC File Offset: 0x00064CBC
		[Token(Token = "0x170003BA")]
		public int Length
		{
			[Token(Token = "0x60030E7")]
			[Address(RVA = "0x296740", Offset = "0x295540", VA = "0x180296740")]
			get
			{
				return this.length;
			}
		}

		// Token: 0x170003BB RID: 955
		// (get) Token: 0x060030E8 RID: 12520 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x170003BB")]
		public T[] Data
		{
			[Token(Token = "0x60030E8")]
			[Address(RVA = "0x2B4010", Offset = "0x2B2E10", VA = "0x1802B4010")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x170003BC RID: 956
		[Token(Token = "0x170003BC")]
		public T this[int index]
		{
			[Token(Token = "0x60030E9")]
			[Address(RVA = "0x521C30", Offset = "0x520A30", VA = "0x180521C30")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x60030EA")]
			[Address(RVA = "0xA19230", Offset = "0xA18030", VA = "0x180A19230")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x060030EB RID: 12523 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030EB")]
		[Address(RVA = "0x294B60", Offset = "0x293960", VA = "0x180294B60")]
		public ResizableArray(int capacity)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030EC RID: 12524 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030EC")]
		[Address(RVA = "0xA18CD0", Offset = "0xA17AD0", VA = "0x180A18CD0")]
		public ResizableArray(int capacity, int length)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030ED RID: 12525 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030ED")]
		[Address(RVA = "0xA178D0", Offset = "0xA166D0", VA = "0x180A178D0")]
		public ResizableArray(T[] initialArray)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030EE RID: 12526 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030EE")]
		[Address(RVA = "0xA159E0", Offset = "0xA147E0", VA = "0x180A159E0")]
		private void IncreaseCapacity(int capacity)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030EF RID: 12527 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030EF")]
		[Address(RVA = "0x7AA010", Offset = "0x7A8E10", VA = "0x1807AA010")]
		public void Clear()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030F0 RID: 12528 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030F0")]
		[Address(RVA = "0xA16190", Offset = "0xA14F90", VA = "0x180A16190")]
		public void Resize(int length, bool trimExess = false, bool clearMemory = false)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030F1 RID: 12529 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030F1")]
		[Address(RVA = "0xA16910", Offset = "0xA15710", VA = "0x180A16910")]
		public void TrimExcess()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030F2 RID: 12530 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030F2")]
		[Address(RVA = "0xA15410", Offset = "0xA14210", VA = "0x180A15410")]
		public void Add(T item)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030F3 RID: 12531 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60030F3")]
		[Address(RVA = "0xA16890", Offset = "0xA15690", VA = "0x180A16890")]
		public T[] ToArray()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060030F4 RID: 12532 RVA: 0x000020D3 File Offset: 0x000002D3
		// Note: this type is marked as 'beforefieldinit'.
		[Token(Token = "0x60030F4")]
		[Address(RVA = "0xA169C0", Offset = "0xA157C0", VA = "0x180A169C0")]
		static ResizableArray()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003AC3 RID: 15043
		[FieldOffset(Offset = "0x0")]
		[Token(Token = "0x4003AC3")]
		private T[] items;

		// Token: 0x04003AC4 RID: 15044
		[FieldOffset(Offset = "0x0")]
		[Token(Token = "0x4003AC4")]
		private int length;

		// Token: 0x04003AC5 RID: 15045
		[Token(Token = "0x4003AC5")]
		private static T[] emptyArr;
	}
}
