using System;
using Cpp2IlInjected;

namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
	// Token: 0x02000666 RID: 1638
	[Token(Token = "0x2000666")]
	internal sealed class ResizableArray<T>
	{
		// Token: 0x170003DF RID: 991
		// (get) Token: 0x060033B0 RID: 13232 RVA: 0x0006DC7C File Offset: 0x0006BE7C
		[Token(Token = "0x170003DF")]
		public int Length
		{
			[Token(Token = "0x60033B0")]
			[Address(RVA = "0x29D0F0", Offset = "0x29C0F0", VA = "0x18029D0F0")]
			get
			{
				return this.length;
			}
		}

		// Token: 0x170003E0 RID: 992
		// (get) Token: 0x060033B1 RID: 13233 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x170003E0")]
		public T[] Data
		{
			[Token(Token = "0x60033B1")]
			[Address(RVA = "0x32FD80", Offset = "0x32ED80", VA = "0x18032FD80")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x170003E1 RID: 993
		[Token(Token = "0x170003E1")]
		public T this[int index]
		{
			[Token(Token = "0x60033B2")]
			[Address(RVA = "0x54CF40", Offset = "0x54BF40", VA = "0x18054CF40")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
			[Token(Token = "0x60033B3")]
			[Address(RVA = "0xA1DC20", Offset = "0xA1CC20", VA = "0x180A1DC20")]
			set
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x060033B4 RID: 13236 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B4")]
		[Address(RVA = "0x29BF60", Offset = "0x29AF60", VA = "0x18029BF60")]
		public ResizableArray(int capacity)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033B5 RID: 13237 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B5")]
		[Address(RVA = "0xA1D6C0", Offset = "0xA1C6C0", VA = "0x180A1D6C0")]
		public ResizableArray(int capacity, int length)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033B6 RID: 13238 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B6")]
		[Address(RVA = "0xA1C2C0", Offset = "0xA1B2C0", VA = "0x180A1C2C0")]
		public ResizableArray(T[] initialArray)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033B7 RID: 13239 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B7")]
		[Address(RVA = "0xA1A3D0", Offset = "0xA193D0", VA = "0x180A1A3D0")]
		private void IncreaseCapacity(int capacity)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033B8 RID: 13240 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B8")]
		[Address(RVA = "0x842E40", Offset = "0x841E40", VA = "0x180842E40")]
		public void Clear()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033B9 RID: 13241 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033B9")]
		[Address(RVA = "0xA1AB80", Offset = "0xA19B80", VA = "0x180A1AB80")]
		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: 0x060033BA RID: 13242 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033BA")]
		[Address(RVA = "0xA1B300", Offset = "0xA1A300", VA = "0x180A1B300")]
		public void TrimExcess()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033BB RID: 13243 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033BB")]
		[Address(RVA = "0xA19E00", Offset = "0xA18E00", VA = "0x180A19E00")]
		public void Add(T item)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033BC RID: 13244 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033BC")]
		[Address(RVA = "0xA1B280", Offset = "0xA1A280", VA = "0x180A1B280")]
		public T[] ToArray()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033BD RID: 13245 RVA: 0x000020D3 File Offset: 0x000002D3
		// Note: this type is marked as 'beforefieldinit'.
		[Token(Token = "0x60033BD")]
		[Address(RVA = "0xA1B3B0", Offset = "0xA1A3B0", VA = "0x180A1B3B0")]
		static ResizableArray()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003DAD RID: 15789
		[FieldOffset(Offset = "0x0")]
		[Token(Token = "0x4003DAD")]
		private T[] items;

		// Token: 0x04003DAE RID: 15790
		[FieldOffset(Offset = "0x0")]
		[Token(Token = "0x4003DAE")]
		private int length;

		// Token: 0x04003DAF RID: 15791
		[Token(Token = "0x4003DAF")]
		private static T[] emptyArr;
	}
}
