using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using Cpp2IlInjected;

// Token: 0x02000218 RID: 536
[Token(Token = "0x2000218")]
public class ExcelLoader
{
	// Token: 0x060014ED RID: 5357 RVA: 0x0002F564 File Offset: 0x0002D764
	[Token(Token = "0x60014ED")]
	[Address(RVA = "0xA68CB0", Offset = "0xA67AB0", VA = "0x180A68CB0")]
	public ExcelLoader(string directory)
	{
		string fullName = new DirectoryInfo(directory).FullName;
		this.tableDirectory = fullName;
		throw new NullReferenceException();
	}

	// Token: 0x060014EE RID: 5358 RVA: 0x0002F590 File Offset: 0x0002D790
	[Token(Token = "0x60014EE")]
	[Address(RVA = "0xA684A0", Offset = "0xA672A0", VA = "0x180A684A0")]
	public List<string[][]> Get(string fileName, string[] sheetNames)
	{
		string text = Path.Combine(this.tableDirectory, fileName);
		DataTable[] array = this.Load(text, sheetNames);
		Func<DataTable, string[][]> func = new Func(this.ParseSheetContents);
		return Enumerable.ToList<string[][]>(Enumerable.Select<DataTable, string[][]>(array, func));
	}

	// Token: 0x060014EF RID: 5359 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014EF")]
	[Address(RVA = "0xA685C0", Offset = "0xA673C0", VA = "0x180A685C0")]
	private DataTable[] Load(string filePath, string[] sheetNames)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014F0 RID: 5360 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014F0")]
	[Address(RVA = "0xA68960", Offset = "0xA67760", VA = "0x180A68960")]
	private string[][] ParseSheetContents(DataTable metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014F1 RID: 5361 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014F1")]
	[Address(RVA = "0xA683E0", Offset = "0xA671E0", VA = "0x180A683E0")]
	private int GetHeaderLength(DataTable tableData)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014F2 RID: 5362 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014F2")]
	[Address(RVA = "0xA687E0", Offset = "0xA675E0", VA = "0x180A687E0")]
	private string[] ParseRowContents(DataRow metadata, int columnRange)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x04002064 RID: 8292
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4002064")]
	private readonly string tableDirectory;
}
