Tests: Update ArraysAndPointers and Properties
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
// Image 0: mscorlib.dll - 0
|
||||
// Image 1: ArraysAndPointers.dll - 1810
|
||||
|
||||
|
||||
// Namespace: Il2CppTests.TestSources
|
||||
internal class Test // TypeDefIndex: 1811
|
||||
internal class Test // TypeDefIndex: 1813
|
||||
{
|
||||
// Fields
|
||||
private int[] foo; // 0x08
|
||||
@@ -10,25 +11,46 @@ internal class Test // TypeDefIndex: 1811
|
||||
private float[][] arrayOfArrays; // 0x10
|
||||
private float[,] twoDimensionalArray; // 0x14
|
||||
private float[,,] threeDimensionalArray; // 0x18
|
||||
private int*[] arrayOfPointer; // 0x1C
|
||||
private int** pointerToPointer; // 0x20
|
||||
private float*[][,,][] confusedElephant; // 0x24
|
||||
private unsafe int*[] arrayOfPointer; // 0x1C
|
||||
private unsafe int** pointerToPointer; // 0x20
|
||||
private unsafe float*[][,,][] confusedElephant; // 0x24
|
||||
|
||||
// Properties
|
||||
public unsafe int* PointerProperty { get; set; } // 0x100EB040 0x100EB250
|
||||
public unsafe int* this[int i] { get; } // 0x100C5600
|
||||
public unsafe int this[int* p] { get; } // 0x100C5600
|
||||
public unsafe float* this[float* fp] { get; } // 0x100C5600
|
||||
|
||||
// Nested types
|
||||
private struct fixedSizeArrayStruct // TypeDefIndex: 1812
|
||||
private struct fixedSizeArrayStruct // TypeDefIndex: 1814
|
||||
{
|
||||
// Fields
|
||||
private fixed /* 0x1000DE40 */ int fixedSizeArray[0]; // 0x08
|
||||
private unsafe fixed /* 0x1000D370 */ int fixedSizeArray[0]; // 0x08
|
||||
|
||||
// Nested types
|
||||
|
||||
}
|
||||
|
||||
public unsafe delegate void OnUnsafe(int* ud); // TypeDefIndex: 1816; 0x1034DA60
|
||||
|
||||
public class NestedUnsafe<T> // TypeDefIndex: 1817
|
||||
{
|
||||
// Constructors
|
||||
public NestedUnsafe();
|
||||
|
||||
// Methods
|
||||
private unsafe T* UnsafeGenericReturn();
|
||||
private unsafe void UnsafeGenericMethod(T* pt);
|
||||
}
|
||||
|
||||
// Constructors
|
||||
public Test(); // 0x1034DAE0
|
||||
public unsafe Test(int* u); // 0x1034DD10
|
||||
|
||||
// Methods
|
||||
public int[] FooMethod(int[][] bar); // 0x1034DAB0
|
||||
public int[,] BarMethod(int[,,] baz); // 0x1034DA60
|
||||
public int[] FooMethod(int[][] bar); // 0x1034DCE0
|
||||
public int[,] BarMethod(int[,,] baz); // 0x1034DC90
|
||||
public unsafe void UnsafeMethod(int* unsafePointerArgument); // 0x100C5530
|
||||
public unsafe int* UnsafeReturnMethod(); // 0x100C5600
|
||||
public unsafe int* UnsafeMethod2(int* i); // 0x10102390
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user