57 lines
1.6 KiB
C#
57 lines
1.6 KiB
C#
// Image 0: mscorlib.dll - 0
|
|
// Image 1: ArraysAndPointers.dll - 1810
|
|
|
|
|
|
// Namespace: Il2CppTests.TestSources
|
|
internal class Test // TypeDefIndex: 1813
|
|
{
|
|
// Fields
|
|
private int[] foo; // 0x08
|
|
private int[] bar; // 0x0C
|
|
private float[][] arrayOfArrays; // 0x10
|
|
private float[,] twoDimensionalArray; // 0x14
|
|
private float[,,] threeDimensionalArray; // 0x18
|
|
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: 1814
|
|
{
|
|
// Fields
|
|
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 unsafe Test(int* u); // 0x1034DD10
|
|
|
|
// Methods
|
|
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
|
|
}
|
|
|