Tests: Update expected results

This commit is contained in:
Katy Coe
2019-11-07 03:37:38 +01:00
parent dd1d8d91d8
commit 0ff7d45776
7 changed files with 148 additions and 12 deletions

View File

@@ -18,6 +18,7 @@
<Compile Remove="TestAssemblies\**" />
<Compile Remove="TestBinaries\**" />
<Compile Remove="TestExpectedResults\**" />
<Compile Remove="TestSources\**" />
<EmbeddedResource Remove="TestAssemblies\**" />
<EmbeddedResource Remove="TestBinaries\**" />
<EmbeddedResource Remove="TestExpectedResults\**" />
@@ -27,15 +28,12 @@
</ItemGroup>
<ItemGroup>
<Compile Remove="TestSources\ArraysAndPointers.cs" />
<Compile Remove="TestSources\CustomAttributeData.cs" />
<Compile Remove="TestSources\GenericTypes.cs" />
<Compile Remove="TestSources\Methods.cs" />
<Compile Remove="TestSources\Properties.cs" />
<Compile Remove="TestSources\References.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="TestExpectedResults\GameAssembly-Properties-x64.cs" />
<Content Include="TestExpectedResults\GameAssembly-Properties-x86.cs" />
<Content Include="TestExpectedResults\GameAssembly-References-x64.cs" />
<Content Include="TestExpectedResults\GameAssembly-References-x86.cs" />
<Content Include="TestExpectedResults\Properties.cs" />
<Content Include="TestExpectedResults\References.cs" />
<Content Include="TestExpectedResults\ArraysAndPointers.cs" />
<Content Include="TestExpectedResults\CustomAttributeData.cs" />
<Content Include="TestExpectedResults\GameAssembly-ArraysAndPointers-x64.cs" />
@@ -45,12 +43,12 @@
<Content Include="TestExpectedResults\GameAssembly-GenericTypes-x64.cs" />
<Content Include="TestExpectedResults\GameAssembly-GenericTypes-x86.cs" />
<Content Include="TestExpectedResults\GenericTypes.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="TestExpectedResults\GameAssembly-Methods-x64.cs" />
<Content Include="TestExpectedResults\GameAssembly-Methods-x86.cs" />
<Content Include="TestExpectedResults\Methods.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="TestSources\ArraysAndPointers.cs" />
<Content Include="TestSources\CustomAttributeData.cs" />
<Content Include="TestSources\GenericTypes.cs" />

View File

@@ -0,0 +1,19 @@
// Image 0: mscorlib.dll - 0
// Image 1: Properties.dll - 1810
// Namespace: Il2CppTests.TestSources
internal class Test // TypeDefIndex: 1811
{
// Fields
// Properties
private int prop1 { get; set; } // 0x00000001800ECD10 0x0000000180143AD0
protected int prop2 { get; private set; } // 0x0000000180156360 0x00000001803E0E90
protected int prop3 { private get; set; } // 0x00000001800ED060 0x000000018019DD90
public static int prop4 { private get; set; } // 0x00000001803E0E50 0x00000001803E0EA0
// Constructors
public Test(); // 0x00000001800E2000
}

View File

@@ -0,0 +1,19 @@
// Image 0: mscorlib.dll - 0
// Image 1: Properties.dll - 1810
// 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
protected int prop3 { private get; set; } // 0x100BFC20 0x100C5B40
public static int prop4 { private get; set; } // 0x1034DA60 0x1034DA90
// Constructors
public Test(); // 0x100BF000
}

View File

@@ -0,0 +1,27 @@
// Image 0: mscorlib.dll - 0
// Image 1: References.dll - 1810
// Namespace: Il2CppTests.TestSources
internal class Test // TypeDefIndex: 1811
{
// Fields
private float floatField; // 0x10
// Constructors
public Test(); // 0x00000001800E2000
// Methods
public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x00000001800EA7B0
public void MethowWithInRefOut(in int a, ref int b, out int c); // 0x00000001803E0E60
public ref float MethodWithRefReturnType(); // 0x00000001803E0E50
}
// Namespace: Il2CppTests.TestSources
[Obsolete] // 0x000000018000CB80
public struct RefStruct // TypeDefIndex: 1812
{
// Fields
private int structField1; // 0x10
}

View File

@@ -0,0 +1,27 @@
// Image 0: mscorlib.dll - 0
// Image 1: References.dll - 1810
// Namespace: Il2CppTests.TestSources
internal class Test // TypeDefIndex: 1811
{
// Fields
private float floatField; // 0x08
// Constructors
public Test(); // 0x100BF000
// Methods
public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x100C5530
public void MethowWithInRefOut(in int a, ref int b, out int c); // 0x1034DA70
public ref float MethodWithRefReturnType(); // 0x1034DA60
}
// Namespace: Il2CppTests.TestSources
[Obsolete] // 0x1000DD10
public struct RefStruct // TypeDefIndex: 1812
{
// Fields
private int structField1; // 0x08
}

View File

@@ -0,0 +1,19 @@
// Image 0: mscorlib.dll - 0
// Image 1: Properties.dll - 1810
// Namespace: Il2CppTests.TestSources
internal class Test // TypeDefIndex: 1811
{
// Fields
// Properties
private int prop1 { get; set; } // 0x00561178 0x00561180
protected int prop2 { get; private set; } // 0x00561188 0x00561190
protected int prop3 { private get; set; } // 0x00561198 0x005611A0
public static int prop4 { private get; set; } // 0x005611A8 0x0056120C
// Constructors
public Test(); // 0x00561270
}

View File

@@ -0,0 +1,27 @@
// Image 0: mscorlib.dll - 0
// Image 1: References.dll - 1810
// Namespace: Il2CppTests.TestSources
internal class Test // TypeDefIndex: 1811
{
// Fields
private float floatField; // 0x08
// Constructors
public Test(); // 0x00561098
// Methods
public void MethodWithRefParameters(int a, ref int b, int c, ref int d); // 0x00561080
public void MethowWithInRefOut(in int a, ref int b, out int c); // 0x00561084
public ref float MethodWithRefReturnType(); // 0x00561090
}
// Namespace: Il2CppTests.TestSources
[Obsolete] // 0x000A5224
public struct RefStruct // TypeDefIndex: 1812
{
// Fields
private int structField1; // 0x08
}