Add support for Hashset, add try/catch for loading settings

This commit is contained in:
sinaioutlander
2020-09-11 00:17:13 +10:00
parent 51ed936e30
commit 835a81765e
10 changed files with 109 additions and 45 deletions

View File

@ -14,6 +14,25 @@ namespace Explorer.Tests
public static TestClass Instance => m_instance ?? (m_instance = new TestClass());
private static TestClass m_instance;
public TestClass()
{
ILHashSetTest = new Il2CppSystem.Collections.Generic.HashSet<string>();
ILHashSetTest.Add("1");
ILHashSetTest.Add("2");
ILHashSetTest.Add("3");
}
// test HashSets
public static HashSet<string> HashSetTest = new HashSet<string>
{
"One",
"Two",
"Three"
};
public static Il2CppSystem.Collections.Generic.HashSet<string> ILHashSetTest;
// Test indexed parameter
public string this[int arg0, string arg1]