From 8db9ffecccdbe3a0c22eb0b50b6684ec19665f65 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Tue, 12 Nov 2019 06:13:54 +0100 Subject: [PATCH] Tests: Update all test results --- .../TestExpectedResults/ArraysAndPointers.cs | 23 +++++++------- .../CustomAttributeData.cs | 20 +++++++------ .../GameAssembly-ArraysAndPointers-x64.cs | 23 +++++++------- .../GameAssembly-ArraysAndPointers-x86.cs | 23 +++++++------- .../GameAssembly-CustomAttributeData-x64.cs | 20 +++++++------ .../GameAssembly-CustomAttributeData-x86.cs | 20 +++++++------ .../GameAssembly-GenericTypes-x64.cs | 26 +++++++--------- .../GameAssembly-GenericTypes-x86.cs | 26 +++++++--------- .../GameAssembly-Methods-x64.cs | 30 +++++++------------ .../GameAssembly-Methods-x86.cs | 30 +++++++------------ .../GameAssembly-Properties-x64.cs | 20 ++++++------- .../GameAssembly-Properties-x86.cs | 20 ++++++------- .../GameAssembly-References-x64.cs | 19 ++++++------ .../GameAssembly-References-x86.cs | 19 ++++++------ .../TestExpectedResults/GenericTypes.cs | 26 +++++++--------- Il2CppTests/TestExpectedResults/Methods.cs | 30 +++++++------------ Il2CppTests/TestExpectedResults/Properties.cs | 20 ++++++------- Il2CppTests/TestExpectedResults/References.cs | 19 ++++++------ 18 files changed, 189 insertions(+), 225 deletions(-) diff --git a/Il2CppTests/TestExpectedResults/ArraysAndPointers.cs b/Il2CppTests/TestExpectedResults/ArraysAndPointers.cs index 3969643..fda7aaf 100644 --- a/Il2CppTests/TestExpectedResults/ArraysAndPointers.cs +++ b/Il2CppTests/TestExpectedResults/ArraysAndPointers.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A68AC [assembly: AssemblyCopyright] // 0x000A68AC [assembly: AssemblyDefaultAlias] // 0x000A68AC @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000A6D34 [assembly: RuntimeCompatibility] // 0x000A6D34 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,11 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003EE220 public static string GetText(string fmt, params /* 0x000A50D8 */ object[] args); // 0x003EE224 - } - - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1813 { @@ -101,9 +103,6 @@ internal class Test // TypeDefIndex: 1813 { // Fields private unsafe fixed /* 0x000A6C98 */ int fixedSizeArray[0]; // 0x08 - - // Nested types - } public unsafe delegate void OnUnsafe(int* ud); // TypeDefIndex: 1816; 0x00562F3C @@ -117,7 +116,6 @@ internal class Test // TypeDefIndex: 1813 // Methods private unsafe T* UnsafeGenericReturn(); private unsafe void UnsafeGenericMethod(T* pt); - } // Constructors @@ -129,6 +127,5 @@ internal class Test // TypeDefIndex: 1813 public unsafe void UnsafeMethod(int* unsafePointerArgument); // 0x00562EFC public unsafe int* UnsafeReturnMethod(); // 0x00562F00 public unsafe int* UnsafeMethod2(int* i); // 0x00562F08 - } diff --git a/Il2CppTests/TestExpectedResults/CustomAttributeData.cs b/Il2CppTests/TestExpectedResults/CustomAttributeData.cs index 7dedf92..c22d702 100644 --- a/Il2CppTests/TestExpectedResults/CustomAttributeData.cs +++ b/Il2CppTests/TestExpectedResults/CustomAttributeData.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Il2CppTests.TestSources; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A4D7C [assembly: AssemblyCopyright] // 0x000A4D7C [assembly: AssemblyDefaultAlias] // 0x000A4D7C @@ -27,8 +35,7 @@ [assembly: Example] // 0x000A526C [assembly: RuntimeCompatibility] // 0x000A526C - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -61,10 +68,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -73,10 +79,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003EC708 public static string GetText(string fmt, params /* 0x000A35A8 */ object[] args); // 0x003EC70C - } - // Namespace: Il2CppTests.TestSources public enum ExampleKind // TypeDefIndex: 1811 { @@ -106,7 +110,6 @@ public class ExampleAttribute : Attribute // TypeDefIndex: 1812 public ExampleAttribute(ExampleKind initKind, string[] initStrings); // 0x00561288 public ExampleAttribute(ExampleKind initKind); // 0x005612B0 public ExampleAttribute(); // 0x005612D8 - } // Namespace: Il2CppTests.TestSources @@ -119,6 +122,5 @@ public class Test // TypeDefIndex: 1813 // Methods [Example] // 0x000A5208 public void TestMethod([Example] /* 0x000A525C */ object arg); // 0x0056132C - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x64.cs index b0dfefb..df21243 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x64.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000E0A0 [assembly: AssemblyCopyright] // 0x000000018000E0A0 [assembly: AssemblyDefaultAlias] // 0x000000018000E0A0 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000000018000C1C0 [assembly: RuntimeCompatibility] // 0x000000018000C1C0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,11 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x00000001800090A0 */ object[] args); // 0x00000001802C64F0 - } - - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1813 { @@ -101,9 +103,6 @@ internal class Test // TypeDefIndex: 1813 { // Fields private unsafe fixed /* 0x000000018000C310 */ int fixedSizeArray[0]; // 0x10 - - // Nested types - } public unsafe delegate void OnUnsafe(int* ud); // TypeDefIndex: 1816; 0x00000001803E0E50 @@ -117,7 +116,6 @@ internal class Test // TypeDefIndex: 1813 // Methods private unsafe T* UnsafeGenericReturn(); private unsafe void UnsafeGenericMethod(T* pt); - } // Constructors @@ -129,6 +127,5 @@ internal class Test // TypeDefIndex: 1813 public unsafe void UnsafeMethod(int* unsafePointerArgument); // 0x00000001800EA7B0 public unsafe int* UnsafeReturnMethod(); // 0x00000001800EA8C0 public unsafe int* UnsafeMethod2(int* i); // 0x000000018012FC60 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x86.cs index 9bb9799..1c71ebf 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-ArraysAndPointers-x86.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000EDA0 [assembly: AssemblyCopyright] // 0x1000EDA0 [assembly: AssemblyDefaultAlias] // 0x1000EDA0 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x1000D250 [assembly: RuntimeCompatibility] // 0x1000D250 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,11 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x10009AA0 */ object[] args); // 0x10261460 - } - - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1813 { @@ -101,9 +103,6 @@ internal class Test // TypeDefIndex: 1813 { // Fields private unsafe fixed /* 0x1000D370 */ int fixedSizeArray[0]; // 0x08 - - // Nested types - } public unsafe delegate void OnUnsafe(int* ud); // TypeDefIndex: 1816; 0x1034DA60 @@ -117,7 +116,6 @@ internal class Test // TypeDefIndex: 1813 // Methods private unsafe T* UnsafeGenericReturn(); private unsafe void UnsafeGenericMethod(T* pt); - } // Constructors @@ -129,6 +127,5 @@ internal class Test // TypeDefIndex: 1813 public unsafe void UnsafeMethod(int* unsafePointerArgument); // 0x100C5530 public unsafe int* UnsafeReturnMethod(); // 0x100C5600 public unsafe int* UnsafeMethod2(int* i); // 0x10102390 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x64.cs index ae4bb16..6e04a76 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x64.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Il2CppTests.TestSources; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000E4A0 [assembly: AssemblyCopyright] // 0x000000018000E4A0 [assembly: AssemblyDefaultAlias] // 0x000000018000E4A0 @@ -27,8 +35,7 @@ [assembly: Example] // 0x000000018000C4B0 [assembly: RuntimeCompatibility] // 0x000000018000C4B0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -61,10 +68,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -73,10 +79,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x0000000180009150 */ object[] args); // 0x00000001802C64F0 - } - // Namespace: Il2CppTests.TestSources public enum ExampleKind // TypeDefIndex: 1811 { @@ -106,7 +110,6 @@ public class ExampleAttribute : Attribute // TypeDefIndex: 1812 public ExampleAttribute(ExampleKind initKind, string[] initStrings); // 0x00000001803E0E70 public ExampleAttribute(ExampleKind initKind); // 0x00000001803E0EB0 public ExampleAttribute(); // 0x00000001803E0E50 - } // Namespace: Il2CppTests.TestSources @@ -119,6 +122,5 @@ public class Test // TypeDefIndex: 1813 // Methods [Example] // 0x000000018000C710 public void TestMethod([Example] /* 0x000000018000C750 */ object arg); // 0x00000001800EA7B0 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x86.cs index c7b5279..0b5ec25 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-CustomAttributeData-x86.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Il2CppTests.TestSources; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000EFA0 [assembly: AssemblyCopyright] // 0x1000EFA0 [assembly: AssemblyDefaultAlias] // 0x1000EFA0 @@ -27,8 +35,7 @@ [assembly: Example] // 0x1000D360 [assembly: RuntimeCompatibility] // 0x1000D360 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -61,10 +68,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -73,10 +79,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x10009B80 */ object[] args); // 0x10261460 - } - // Namespace: Il2CppTests.TestSources public enum ExampleKind // TypeDefIndex: 1811 { @@ -106,7 +110,6 @@ public class ExampleAttribute : Attribute // TypeDefIndex: 1812 public ExampleAttribute(ExampleKind initKind, string[] initStrings); // 0x1034DA90 public ExampleAttribute(ExampleKind initKind); // 0x1034DAC0 public ExampleAttribute(); // 0x1034DA60 - } // Namespace: Il2CppTests.TestSources @@ -119,6 +122,5 @@ public class Test // TypeDefIndex: 1813 // Methods [Example] // 0x1000D550 public void TestMethod([Example] /* 0x1000D590 */ object arg); // 0x100C5530 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x64.cs index 21001d2..4a41c92 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x64.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000E050 [assembly: AssemblyCopyright] // 0x000000018000E050 [assembly: AssemblyDefaultAlias] // 0x000000018000E050 @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x000000018000C150 [assembly: RuntimeCompatibility] // 0x000000018000C150 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,17 +78,13 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x00000001800090D0 */ object[] args); // 0x00000001802C64F0 - } - - // Namespace: Il2CppTests.TestSources public class Base // TypeDefIndex: 1815 { // Constructors public Base(); - } // Namespace: Il2CppTests.TestSources @@ -96,12 +98,10 @@ public class Derived : Base // TypeDefIndex: 1816 { // Constructors public Nested(); - } // Constructors public Derived(); - } // Namespace: Il2CppTests.TestSources @@ -109,7 +109,6 @@ public class G // TypeDefIndex: 1818 { // Constructors public G(); - } // Namespace: Il2CppTests.TestSources @@ -120,7 +119,6 @@ internal class Test // TypeDefIndex: 1819 // Methods public void GenericTypesTest(); // 0x00000001803E0ED0 - } // Namespace: Il2CppTests.TestSources @@ -129,7 +127,6 @@ internal class ConstrainedValueType // TypeDefIndex: 1820 { // Constructors public ConstrainedValueType(); - } // Namespace: Il2CppTests.TestSources @@ -153,6 +150,5 @@ internal class ConstrainedRefType // TypeDefIndex: 1821 where D : Delegate; public void EnumConstraint(E enumeration) where E : Enum; - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x86.cs index 966ec37..1db8072 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-GenericTypes-x86.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000ED00 [assembly: AssemblyCopyright] // 0x1000ED00 [assembly: AssemblyDefaultAlias] // 0x1000ED00 @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x1000D1B0 [assembly: RuntimeCompatibility] // 0x1000D1B0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,17 +78,13 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x10009B20 */ object[] args); // 0x10261460 - } - - // Namespace: Il2CppTests.TestSources public class Base // TypeDefIndex: 1815 { // Constructors public Base(); - } // Namespace: Il2CppTests.TestSources @@ -96,12 +98,10 @@ public class Derived : Base // TypeDefIndex: 1816 { // Constructors public Nested(); - } // Constructors public Derived(); - } // Namespace: Il2CppTests.TestSources @@ -109,7 +109,6 @@ public class G // TypeDefIndex: 1818 { // Constructors public G(); - } // Namespace: Il2CppTests.TestSources @@ -120,7 +119,6 @@ internal class Test // TypeDefIndex: 1819 // Methods public void GenericTypesTest(); // 0x1034DB10 - } // Namespace: Il2CppTests.TestSources @@ -129,7 +127,6 @@ internal class ConstrainedValueType // TypeDefIndex: 1820 { // Constructors public ConstrainedValueType(); - } // Namespace: Il2CppTests.TestSources @@ -153,6 +150,5 @@ internal class ConstrainedRefType // TypeDefIndex: 1821 where D : Delegate; public void EnumConstraint(E enumeration) where E : Enum; - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x64.cs index e083ab1..516d8df 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x64.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000E950 [assembly: AssemblyCopyright] // 0x000000018000E950 [assembly: AssemblyDefaultAlias] // 0x000000018000E950 @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x000000018000CAF0 [assembly: RuntimeCompatibility] // 0x000000018000CAF0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +78,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x0000000180009C10 */ object[] args); // 0x00000001802C64F0 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -86,7 +90,6 @@ internal class Test // TypeDefIndex: 1811 public virtual void VirtualMethod(); // 0x00000001800EA7B0 public double ValueTypeReturnMethod(); // 0x00000001803E0EC0 public StringBuilder ReferenceTypeReturnMethod(); // 0x00000001803E0E70 - } // Namespace: Il2CppTests.TestSources @@ -94,7 +97,6 @@ public static class TestExtension // TypeDefIndex: 1812 { // Methods public static double DivideByXExtension(int a, float x); // 0x00000001803E0E50 - } // Namespace: Il2CppTests.TestSources @@ -105,7 +107,6 @@ internal abstract class TestAbstract // TypeDefIndex: 1813 // Methods public abstract void AbstractMethod(); - } // Namespace: Il2CppTests.TestSources @@ -116,7 +117,6 @@ internal class TestOverride : Test // TypeDefIndex: 1814 // Methods public override void VirtualMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -127,7 +127,6 @@ internal class TestHideVirtual : Test // TypeDefIndex: 1815 // Methods public new void VirtualMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -138,7 +137,6 @@ internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 // Methods public new void VirtualMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -149,7 +147,6 @@ internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 // Methods public override void AbstractMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -160,7 +157,6 @@ internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: // Methods public new void AbstractMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -171,7 +167,6 @@ internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 // Methods public virtual new void VirtualMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -182,7 +177,6 @@ internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 182 // Methods public virtual new void VirtualMethod(); // 0x00000001800EA7B0 - } // Namespace: Il2CppTests.TestSources @@ -193,7 +187,6 @@ internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 // Methods public abstract new void VirtualMethod(); - } // Namespace: Il2CppTests.TestSources @@ -204,6 +197,5 @@ internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 // Methods public int ValueTypeReturnMethod(); // 0x0000000180119A50 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x86.cs index 241c4af..e2e49d9 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-Methods-x86.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000F760 [assembly: AssemblyCopyright] // 0x1000F760 [assembly: AssemblyDefaultAlias] // 0x1000F760 @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x1000DC90 [assembly: RuntimeCompatibility] // 0x1000DC90 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +78,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x1000A660 */ object[] args); // 0x10261460 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -86,7 +90,6 @@ internal class Test // TypeDefIndex: 1811 public virtual void VirtualMethod(); // 0x100C5530 public double ValueTypeReturnMethod(); // 0x1034DAD0 public StringBuilder ReferenceTypeReturnMethod(); // 0x1034DA90 - } // Namespace: Il2CppTests.TestSources @@ -94,7 +97,6 @@ public static class TestExtension // TypeDefIndex: 1812 { // Methods public static double DivideByXExtension(int a, float x); // 0x1034DA60 - } // Namespace: Il2CppTests.TestSources @@ -105,7 +107,6 @@ internal abstract class TestAbstract // TypeDefIndex: 1813 // Methods public abstract void AbstractMethod(); - } // Namespace: Il2CppTests.TestSources @@ -116,7 +117,6 @@ internal class TestOverride : Test // TypeDefIndex: 1814 // Methods public override void VirtualMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -127,7 +127,6 @@ internal class TestHideVirtual : Test // TypeDefIndex: 1815 // Methods public new void VirtualMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -138,7 +137,6 @@ internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 // Methods public new void VirtualMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -149,7 +147,6 @@ internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 // Methods public override void AbstractMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -160,7 +157,6 @@ internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: // Methods public new void AbstractMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -171,7 +167,6 @@ internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 // Methods public virtual new void VirtualMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -182,7 +177,6 @@ internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 182 // Methods public virtual new void VirtualMethod(); // 0x100C5530 - } // Namespace: Il2CppTests.TestSources @@ -193,7 +187,6 @@ internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 // Methods public abstract new void VirtualMethod(); - } // Namespace: Il2CppTests.TestSources @@ -204,6 +197,5 @@ internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 // Methods public int ValueTypeReturnMethod(); // 0x100EF660 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x64.cs index 582937d..5217040 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x64.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000DF60 [assembly: AssemblyCopyright] // 0x000000018000DF60 [assembly: AssemblyDefaultAlias] // 0x000000018000DF60 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000000018000C0D0 [assembly: RuntimeCompatibility] // 0x000000018000C0D0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,15 +77,11 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x00000001800091F0 */ object[] args); // 0x00000001802C64F0 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { - // Fields - // Properties private int prop1 { get; set; } // 0x00000001800ECD10 0x0000000180143AD0 protected int prop2 { get; private set; } // 0x0000000180156360 0x00000001803E0F20 @@ -94,6 +95,5 @@ internal class Test // TypeDefIndex: 1811 // Constructors public Test(); // 0x00000001800E2000 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x86.cs index e88df50..983837b 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-Properties-x86.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000EC00 [assembly: AssemblyCopyright] // 0x1000EC00 [assembly: AssemblyDefaultAlias] // 0x1000EC00 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x1000D0F0 [assembly: RuntimeCompatibility] // 0x1000D0F0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,15 +77,11 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x10009AD0 */ object[] args); // 0x10261460 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { - // Fields - // Properties private int prop1 { get; set; } // 0x100BF0C0 0x100EB270 protected int prop2 { get; private set; } // 0x100C5B30 0x100C5B50 @@ -94,6 +95,5 @@ internal class Test // TypeDefIndex: 1811 // Constructors public Test(); // 0x100BF000 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-References-x64.cs b/Il2CppTests/TestExpectedResults/GameAssembly-References-x64.cs index 158e2f5..bb32aaf 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-References-x64.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-References-x64.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000000018000E980 [assembly: AssemblyCopyright] // 0x000000018000E980 [assembly: AssemblyDefaultAlias] // 0x000000018000E980 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000000018000CAF0 [assembly: RuntimeCompatibility] // 0x000000018000CAF0 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x0000000180123590 public static string GetText(string fmt, params /* 0x0000000180009C10 */ object[] args); // 0x00000001802C64F0 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -89,7 +92,6 @@ internal class Test // TypeDefIndex: 1811 public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x00000001800EA7B0 public void MethodWithInRefOut(in int a, ref int b, out int c); // 0x00000001803E0E50 public ref float MethodWithRefReturnType(); // 0x00000001803E0E60 - } // Namespace: Il2CppTests.TestSources @@ -98,6 +100,5 @@ public struct RefStruct // TypeDefIndex: 1812 { // Fields private int structField1; // 0x10 - } diff --git a/Il2CppTests/TestExpectedResults/GameAssembly-References-x86.cs b/Il2CppTests/TestExpectedResults/GameAssembly-References-x86.cs index f76171f..5c33029 100644 --- a/Il2CppTests/TestExpectedResults/GameAssembly-References-x86.cs +++ b/Il2CppTests/TestExpectedResults/GameAssembly-References-x86.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x1000F7A0 [assembly: AssemblyCopyright] // 0x1000F7A0 [assembly: AssemblyDefaultAlias] // 0x1000F7A0 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x1000DC90 [assembly: RuntimeCompatibility] // 0x1000DC90 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x100F7810 public static string GetText(string fmt, params /* 0x1000A660 */ object[] args); // 0x10261460 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -89,7 +92,6 @@ internal class Test // TypeDefIndex: 1811 public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x100C5530 public void MethodWithInRefOut(in int a, ref int b, out int c); // 0x1034DA60 public ref float MethodWithRefReturnType(); // 0x1034DA70 - } // Namespace: Il2CppTests.TestSources @@ -98,6 +100,5 @@ public struct RefStruct // TypeDefIndex: 1812 { // Fields private int structField1; // 0x08 - } diff --git a/Il2CppTests/TestExpectedResults/GenericTypes.cs b/Il2CppTests/TestExpectedResults/GenericTypes.cs index fc6bcf1..9a0d1ff 100644 --- a/Il2CppTests/TestExpectedResults/GenericTypes.cs +++ b/Il2CppTests/TestExpectedResults/GenericTypes.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A534C [assembly: AssemblyCopyright] // 0x000A534C [assembly: AssemblyDefaultAlias] // 0x000A534C @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x000A5754 [assembly: RuntimeCompatibility] // 0x000A5754 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,17 +78,13 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003ECCF0 public static string GetText(string fmt, params /* 0x000A3B78 */ object[] args); // 0x003ECCF4 - } - - // Namespace: Il2CppTests.TestSources public class Base // TypeDefIndex: 1815 { // Constructors public Base(); - } // Namespace: Il2CppTests.TestSources @@ -96,12 +98,10 @@ public class Derived : Base // TypeDefIndex: 1816 { // Constructors public Nested(); - } // Constructors public Derived(); - } // Namespace: Il2CppTests.TestSources @@ -109,7 +109,6 @@ public class G // TypeDefIndex: 1818 { // Constructors public G(); - } // Namespace: Il2CppTests.TestSources @@ -120,7 +119,6 @@ internal class Test // TypeDefIndex: 1819 // Methods public void GenericTypesTest(); // 0x00561880 - } // Namespace: Il2CppTests.TestSources @@ -129,7 +127,6 @@ internal class ConstrainedValueType // TypeDefIndex: 1820 { // Constructors public ConstrainedValueType(); - } // Namespace: Il2CppTests.TestSources @@ -153,6 +150,5 @@ internal class ConstrainedRefType // TypeDefIndex: 1821 where D : Delegate; public void EnumConstraint(E enumeration) where E : Enum; - } diff --git a/Il2CppTests/TestExpectedResults/Methods.cs b/Il2CppTests/TestExpectedResults/Methods.cs index bf1f3ae..f0a38d3 100644 --- a/Il2CppTests/TestExpectedResults/Methods.cs +++ b/Il2CppTests/TestExpectedResults/Methods.cs @@ -1,4 +1,12 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A5098 [assembly: AssemblyCopyright] // 0x000A5098 [assembly: AssemblyDefaultAlias] // 0x000A5098 @@ -26,8 +34,7 @@ [assembly: Debuggable] // 0x000A538C [assembly: RuntimeCompatibility] // 0x000A538C - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +67,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +78,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003EC608 public static string GetText(string fmt, params /* 0x000A38C4 */ object[] args); // 0x003EC60C - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -86,7 +90,6 @@ internal class Test // TypeDefIndex: 1811 public virtual void VirtualMethod(); // 0x00561188 public double ValueTypeReturnMethod(); // 0x0056118C public StringBuilder ReferenceTypeReturnMethod(); // 0x005611B4 - } // Namespace: Il2CppTests.TestSources @@ -94,7 +97,6 @@ public static class TestExtension // TypeDefIndex: 1812 { // Methods public static double DivideByXExtension(int a, float x); // 0x00561198 - } // Namespace: Il2CppTests.TestSources @@ -105,7 +107,6 @@ internal abstract class TestAbstract // TypeDefIndex: 1813 // Methods public abstract void AbstractMethod(); - } // Namespace: Il2CppTests.TestSources @@ -116,7 +117,6 @@ internal class TestOverride : Test // TypeDefIndex: 1814 // Methods public override void VirtualMethod(); // 0x00561294 - } // Namespace: Il2CppTests.TestSources @@ -127,7 +127,6 @@ internal class TestHideVirtual : Test // TypeDefIndex: 1815 // Methods public new void VirtualMethod(); // 0x0056126C - } // Namespace: Il2CppTests.TestSources @@ -138,7 +137,6 @@ internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 // Methods public new void VirtualMethod(); // 0x00561254 - } // Namespace: Il2CppTests.TestSources @@ -149,7 +147,6 @@ internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 // Methods public override void AbstractMethod(); // 0x00561298 - } // Namespace: Il2CppTests.TestSources @@ -160,7 +157,6 @@ internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: // Methods public new void AbstractMethod(); // 0x00561240 - } // Namespace: Il2CppTests.TestSources @@ -171,7 +167,6 @@ internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 // Methods public virtual new void VirtualMethod(); // 0x00561278 - } // Namespace: Il2CppTests.TestSources @@ -182,7 +177,6 @@ internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 182 // Methods public virtual new void VirtualMethod(); // 0x00561260 - } // Namespace: Il2CppTests.TestSources @@ -193,7 +187,6 @@ internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 // Methods public abstract new void VirtualMethod(); - } // Namespace: Il2CppTests.TestSources @@ -204,6 +197,5 @@ internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 // Methods public int ValueTypeReturnMethod(); // 0x00561284 - } diff --git a/Il2CppTests/TestExpectedResults/Properties.cs b/Il2CppTests/TestExpectedResults/Properties.cs index d83195b..c101401 100644 --- a/Il2CppTests/TestExpectedResults/Properties.cs +++ b/Il2CppTests/TestExpectedResults/Properties.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A4DEC [assembly: AssemblyCopyright] // 0x000A4DEC [assembly: AssemblyDefaultAlias] // 0x000A4DEC @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000A5264 [assembly: RuntimeCompatibility] // 0x000A5264 - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,15 +77,11 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003EC6B0 public static string GetText(string fmt, params /* 0x000A3618 */ object[] args); // 0x003EC6B4 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { - // Fields - // Properties private int prop1 { get; set; } // 0x00561230 0x00561238 protected int prop2 { get; private set; } // 0x00561240 0x00561248 @@ -94,6 +95,5 @@ internal class Test // TypeDefIndex: 1811 // Constructors public Test(); // 0x00561448 - } diff --git a/Il2CppTests/TestExpectedResults/References.cs b/Il2CppTests/TestExpectedResults/References.cs index 7550a64..24f3822 100644 --- a/Il2CppTests/TestExpectedResults/References.cs +++ b/Il2CppTests/TestExpectedResults/References.cs @@ -1,4 +1,11 @@ -// Image 0: mscorlib.dll - 0 +using System; +using System.Diagnostics; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Image 0: mscorlib.dll - 0 [assembly: AssemblyCompany] // 0x000A4F30 [assembly: AssemblyCopyright] // 0x000A4F30 [assembly: AssemblyDefaultAlias] // 0x000A4F30 @@ -26,8 +33,7 @@ [assembly: Debuggable] // 0x000A525C [assembly: RuntimeCompatibility] // 0x000A525C - -// Namespace: +// Namespace: internal static class Consts // TypeDefIndex: 100 { // Fields @@ -60,10 +66,9 @@ internal static class Consts // TypeDefIndex: 100 public const string AssemblySystem_Web = "System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"; public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; public const string AssemblySystem_Core = "System.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; - } -// Namespace: +// Namespace: internal sealed class Locale // TypeDefIndex: 101 { // Constructors @@ -72,10 +77,8 @@ internal sealed class Locale // TypeDefIndex: 101 // Methods public static string GetText(string msg); // 0x003EC500 public static string GetText(string fmt, params /* 0x000A375C */ object[] args); // 0x003EC504 - } - // Namespace: Il2CppTests.TestSources internal class Test // TypeDefIndex: 1811 { @@ -89,7 +92,6 @@ internal class Test // TypeDefIndex: 1811 public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x00561080 public void MethodWithInRefOut(in int a, ref int b, out int c); // 0x00561084 public ref float MethodWithRefReturnType(); // 0x00561090 - } // Namespace: Il2CppTests.TestSources @@ -98,6 +100,5 @@ public struct RefStruct // TypeDefIndex: 1812 { // Fields private int structField1; // 0x08 - }