Tests: Update expected results

This commit is contained in:
Katy Coe
2020-02-06 02:51:54 +01:00
parent e971cb8502
commit 59568aba57
15 changed files with 60 additions and 51 deletions

View File

@@ -122,6 +122,7 @@ namespace Il2CppTests.TestSources
} }
// Constructors // Constructors
public Test() {} // Dummy constructor
public unsafe Test(int* u) {} // 0x00562E78-0x00562EEC public unsafe Test(int* u) {} // 0x00562E78-0x00562EEC
// Methods // Methods

View File

@@ -96,7 +96,7 @@ namespace Il2CppTests.TestSources
void Paint(); void Paint();
} }
internal class Test : IControl, ISurface // TypeDefIndex: 1813 internal class Test : Il2CppTests.TestSources.IControl, Il2CppTests.TestSources.ISurface // TypeDefIndex: 1813
{ {
// Constructors // Constructors
public Test() {} // 0x00561674-0x00561674 public Test() {} // 0x00561674-0x00561674
@@ -118,7 +118,7 @@ namespace Il2CppTests.TestSources
int P(); int P();
} }
internal class Middle : ILeft, IRight // TypeDefIndex: 1816 internal class Middle : Il2CppTests.TestSources.ILeft, Il2CppTests.TestSources.IRight // TypeDefIndex: 1816
{ {
// Properties // Properties
int ILeft.P { get => default; } // 0x0056165C-0x00561664 int ILeft.P { get => default; } // 0x0056165C-0x00561664
@@ -136,7 +136,7 @@ namespace Il2CppTests.TestSources
void GenericMethod(T t); void GenericMethod(T t);
} }
internal class ImplementsGenericInterface : IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818 internal class ImplementsGenericInterface : Il2CppTests.TestSources.IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public ImplementsGenericInterface() {} // 0x00561634-0x0056163C public ImplementsGenericInterface() {} // 0x00561634-0x0056163C
@@ -151,7 +151,7 @@ namespace Il2CppTests.TestSources
bool this[int i] { get => default; } bool this[int i] { get => default; }
} }
internal class ImplementsIndexer : IIndexer // TypeDefIndex: 1820 internal class ImplementsIndexer : Il2CppTests.TestSources.IIndexer // TypeDefIndex: 1820
{ {
// Properties // Properties
public bool this[int i] { get => default; } // 0x0056163C-0x00561644 public bool this[int i] { get => default; } // 0x0056163C-0x00561644

View File

@@ -122,6 +122,7 @@ namespace Il2CppTests.TestSources
} }
// Constructors // Constructors
public Test() {} // Dummy constructor
public unsafe Test(int* u) {} // 0x00000001803E1130-0x00000001803E1130 public unsafe Test(int* u) {} // 0x00000001803E1130-0x00000001803E1130
// Methods // Methods

View File

@@ -122,6 +122,7 @@ namespace Il2CppTests.TestSources
} }
// Constructors // Constructors
public Test() {} // Dummy constructor
public unsafe Test(int* u) {} // 0x1034DD10-0x1034DD10 public unsafe Test(int* u) {} // 0x1034DD10-0x1034DD10
// Methods // Methods

View File

@@ -96,7 +96,7 @@ namespace Il2CppTests.TestSources
void Paint(); void Paint();
} }
internal class Test : IControl, ISurface // TypeDefIndex: 1813 internal class Test : Il2CppTests.TestSources.IControl, Il2CppTests.TestSources.ISurface // TypeDefIndex: 1813
{ {
// Constructors // Constructors
public Test() {} // 0x00000001800E2000-0x00000001800E2010 public Test() {} // 0x00000001800E2000-0x00000001800E2010
@@ -118,7 +118,7 @@ namespace Il2CppTests.TestSources
int P(); int P();
} }
internal class Middle : ILeft, IRight // TypeDefIndex: 1816 internal class Middle : Il2CppTests.TestSources.ILeft, Il2CppTests.TestSources.IRight // TypeDefIndex: 1816
{ {
// Properties // Properties
int ILeft.P { get => default; } // 0x00000001800EA8C0-0x00000001800EA8D0 int ILeft.P { get => default; } // 0x00000001800EA8C0-0x00000001800EA8D0
@@ -136,7 +136,7 @@ namespace Il2CppTests.TestSources
void GenericMethod(T t); void GenericMethod(T t);
} }
internal class ImplementsGenericInterface : IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818 internal class ImplementsGenericInterface : Il2CppTests.TestSources.IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public ImplementsGenericInterface() {} // 0x00000001800E2000-0x00000001800E2010 public ImplementsGenericInterface() {} // 0x00000001800E2000-0x00000001800E2010
@@ -151,7 +151,7 @@ namespace Il2CppTests.TestSources
bool this[int i] { get => default; } bool this[int i] { get => default; }
} }
internal class ImplementsIndexer : IIndexer // TypeDefIndex: 1820 internal class ImplementsIndexer : Il2CppTests.TestSources.IIndexer // TypeDefIndex: 1820
{ {
// Properties // Properties
public bool this[int i] { get => default; } // 0x000000018011A0F0-0x000000018011A100 public bool this[int i] { get => default; } // 0x000000018011A0F0-0x000000018011A100

View File

@@ -96,7 +96,7 @@ namespace Il2CppTests.TestSources
void Paint(); void Paint();
} }
internal class Test : IControl, ISurface // TypeDefIndex: 1813 internal class Test : Il2CppTests.TestSources.IControl, Il2CppTests.TestSources.ISurface // TypeDefIndex: 1813
{ {
// Constructors // Constructors
public Test() {} // 0x100BF000-0x100BF010 public Test() {} // 0x100BF000-0x100BF010
@@ -118,7 +118,7 @@ namespace Il2CppTests.TestSources
int P(); int P();
} }
internal class Middle : ILeft, IRight // TypeDefIndex: 1816 internal class Middle : Il2CppTests.TestSources.ILeft, Il2CppTests.TestSources.IRight // TypeDefIndex: 1816
{ {
// Properties // Properties
int ILeft.P { get => default; } // 0x100C5600-0x100C5610 int ILeft.P { get => default; } // 0x100C5600-0x100C5610
@@ -136,7 +136,7 @@ namespace Il2CppTests.TestSources
void GenericMethod(T t); void GenericMethod(T t);
} }
internal class ImplementsGenericInterface : IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818 internal class ImplementsGenericInterface : Il2CppTests.TestSources.IGeneric<KeyValuePair<int, double>> // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public ImplementsGenericInterface() {} // 0x100BF000-0x100BF010 public ImplementsGenericInterface() {} // 0x100BF000-0x100BF010
@@ -151,7 +151,7 @@ namespace Il2CppTests.TestSources
bool this[int i] { get => default; } bool this[int i] { get => default; }
} }
internal class ImplementsIndexer : IIndexer // TypeDefIndex: 1820 internal class ImplementsIndexer : Il2CppTests.TestSources.IIndexer // TypeDefIndex: 1820
{ {
// Properties // Properties
public bool this[int i] { get => default; } // 0x100EFBF0-0x100EFC00 public bool this[int i] { get => default; } // 0x100EFBF0-0x100EFC00

View File

@@ -90,7 +90,7 @@ namespace Il2CppTests.TestSources
public Base() {} public Base() {}
} }
public class Derived<V> : Base<string, V> // TypeDefIndex: 1816 public class Derived<V> : Il2CppTests.TestSources.Base<string, V> // TypeDefIndex: 1816
{ {
// Fields // Fields
public G<Derived<V>> F; // 0x00 public G<Derived<V>> F; // 0x00
@@ -250,7 +250,7 @@ namespace Il2CppTests.TestSources
public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {} public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {}
} }
public class CallGenericMethods : GenericClassWithMethods<int> // TypeDefIndex: 1835 public class CallGenericMethods : Il2CppTests.TestSources.GenericClassWithMethods<int> // TypeDefIndex: 1835
{ {
// Constructors // Constructors
public CallGenericMethods() {} // 0x0000000180408880-0x00000001804088C0 public CallGenericMethods() {} // 0x0000000180408880-0x00000001804088C0

View File

@@ -90,7 +90,7 @@ namespace Il2CppTests.TestSources
public Base() {} public Base() {}
} }
public class Derived<V> : Base<string, V> // TypeDefIndex: 1816 public class Derived<V> : Il2CppTests.TestSources.Base<string, V> // TypeDefIndex: 1816
{ {
// Fields // Fields
public G<Derived<V>> F; // 0x00 public G<Derived<V>> F; // 0x00
@@ -250,7 +250,7 @@ namespace Il2CppTests.TestSources
public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {} public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {}
} }
public class CallGenericMethods : GenericClassWithMethods<int> // TypeDefIndex: 1835 public class CallGenericMethods : Il2CppTests.TestSources.GenericClassWithMethods<int> // TypeDefIndex: 1835
{ {
// Constructors // Constructors
public CallGenericMethods() {} // 0x1036D450-0x1036D490 public CallGenericMethods() {} // 0x1036D450-0x1036D490

View File

@@ -110,7 +110,7 @@ namespace Il2CppTests.TestSources
public abstract void AbstractMethod(); public abstract void AbstractMethod();
} }
internal class TestOverride : Test // TypeDefIndex: 1814 internal class TestOverride : Il2CppTests.TestSources.Test // TypeDefIndex: 1814
{ {
// Constructors // Constructors
public TestOverride() {} // 0x00000001800E4000-0x00000001800E4010 public TestOverride() {} // 0x00000001800E4000-0x00000001800E4010
@@ -119,7 +119,7 @@ namespace Il2CppTests.TestSources
public override void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public override void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestHideVirtual : Test // TypeDefIndex: 1815 internal class TestHideVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1815
{ {
// Constructors // Constructors
public TestHideVirtual() {} // 0x00000001800E4000-0x00000001800E4010 public TestHideVirtual() {} // 0x00000001800E4000-0x00000001800E4010
@@ -128,7 +128,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 internal class TestHideOverride : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1816
{ {
// Constructors // Constructors
public TestHideOverride() {} // 0x00000001800E4000-0x00000001800E4010 public TestHideOverride() {} // 0x00000001800E4000-0x00000001800E4010
@@ -137,7 +137,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 internal class TestOverrideAbstract : Il2CppTests.TestSources.TestAbstract // TypeDefIndex: 1817
{ {
// Constructors // Constructors
public TestOverrideAbstract() {} // 0x00000001800E4000-0x00000001800E4010 public TestOverrideAbstract() {} // 0x00000001800E4000-0x00000001800E4010
@@ -146,7 +146,7 @@ namespace Il2CppTests.TestSources
public override void AbstractMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public override void AbstractMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: 1818 internal class TestHideAbstractOverride : Il2CppTests.TestSources.TestOverrideAbstract // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public TestHideAbstractOverride() {} // 0x00000001800E4000-0x00000001800E4010 public TestHideAbstractOverride() {} // 0x00000001800E4000-0x00000001800E4010
@@ -155,7 +155,7 @@ namespace Il2CppTests.TestSources
public new void AbstractMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public new void AbstractMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 internal class TestHideVirtualAndNewVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1819
{ {
// Constructors // Constructors
public TestHideVirtualAndNewVirtual() {} // 0x00000001800E4000-0x00000001800E4010 public TestHideVirtualAndNewVirtual() {} // 0x00000001800E4000-0x00000001800E4010
@@ -164,7 +164,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public virtual new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 1820 internal class TestHideOverrideAndNewVirtual : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1820
{ {
// Constructors // Constructors
public TestHideOverrideAndNewVirtual() {} // 0x00000001800E4000-0x00000001800E4010 public TestHideOverrideAndNewVirtual() {} // 0x00000001800E4000-0x00000001800E4010
@@ -173,7 +173,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40 public virtual new void VirtualMethod() {} // 0x00000001800ECD30-0x00000001800ECD40
} }
internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 internal abstract class TestAbstractNew : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1821
{ {
// Constructors // Constructors
protected TestAbstractNew() {} // 0x00000001800E4000-0x00000001800E4010 protected TestAbstractNew() {} // 0x00000001800E4000-0x00000001800E4010
@@ -182,7 +182,7 @@ namespace Il2CppTests.TestSources
public abstract new void VirtualMethod(); public abstract new void VirtualMethod();
} }
internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 internal class TestNewNonVirtualMethod : Il2CppTests.TestSources.Test // TypeDefIndex: 1822
{ {
// Constructors // Constructors
public TestNewNonVirtualMethod() {} // 0x00000001800E4000-0x00000001800E4010 public TestNewNonVirtualMethod() {} // 0x00000001800E4000-0x00000001800E4010

View File

@@ -110,7 +110,7 @@ namespace Il2CppTests.TestSources
public abstract void AbstractMethod(); public abstract void AbstractMethod();
} }
internal class TestOverride : Test // TypeDefIndex: 1814 internal class TestOverride : Il2CppTests.TestSources.Test // TypeDefIndex: 1814
{ {
// Constructors // Constructors
public TestOverride() {} // 0x100C2000-0x100C2010 public TestOverride() {} // 0x100C2000-0x100C2010
@@ -119,7 +119,7 @@ namespace Il2CppTests.TestSources
public override void VirtualMethod() {} // 0x100C97A0-0x100C97B0 public override void VirtualMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestHideVirtual : Test // TypeDefIndex: 1815 internal class TestHideVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1815
{ {
// Constructors // Constructors
public TestHideVirtual() {} // 0x100C2000-0x100C2010 public TestHideVirtual() {} // 0x100C2000-0x100C2010
@@ -128,7 +128,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x100C97A0-0x100C97B0 public new void VirtualMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 internal class TestHideOverride : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1816
{ {
// Constructors // Constructors
public TestHideOverride() {} // 0x100C2000-0x100C2010 public TestHideOverride() {} // 0x100C2000-0x100C2010
@@ -137,7 +137,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x100C97A0-0x100C97B0 public new void VirtualMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 internal class TestOverrideAbstract : Il2CppTests.TestSources.TestAbstract // TypeDefIndex: 1817
{ {
// Constructors // Constructors
public TestOverrideAbstract() {} // 0x100C2000-0x100C2010 public TestOverrideAbstract() {} // 0x100C2000-0x100C2010
@@ -146,7 +146,7 @@ namespace Il2CppTests.TestSources
public override void AbstractMethod() {} // 0x100C97A0-0x100C97B0 public override void AbstractMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: 1818 internal class TestHideAbstractOverride : Il2CppTests.TestSources.TestOverrideAbstract // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public TestHideAbstractOverride() {} // 0x100C2000-0x100C2010 public TestHideAbstractOverride() {} // 0x100C2000-0x100C2010
@@ -155,7 +155,7 @@ namespace Il2CppTests.TestSources
public new void AbstractMethod() {} // 0x100C97A0-0x100C97B0 public new void AbstractMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 internal class TestHideVirtualAndNewVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1819
{ {
// Constructors // Constructors
public TestHideVirtualAndNewVirtual() {} // 0x100C2000-0x100C2010 public TestHideVirtualAndNewVirtual() {} // 0x100C2000-0x100C2010
@@ -164,7 +164,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x100C97A0-0x100C97B0 public virtual new void VirtualMethod() {} // 0x100C97A0-0x100C97B0
} }
internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 1820 internal class TestHideOverrideAndNewVirtual : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1820
{ {
// Constructors // Constructors
public TestHideOverrideAndNewVirtual() {} // 0x100C2000-0x100C2010 public TestHideOverrideAndNewVirtual() {} // 0x100C2000-0x100C2010
@@ -173,7 +173,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x100C97A0-0x100C97B0 public virtual new void VirtualMethod() {} // 0x100C97A0-0x100C97B0
} }
internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 internal abstract class TestAbstractNew : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1821
{ {
// Constructors // Constructors
protected TestAbstractNew() {} // 0x100C2000-0x100C2010 protected TestAbstractNew() {} // 0x100C2000-0x100C2010
@@ -182,7 +182,7 @@ namespace Il2CppTests.TestSources
public abstract new void VirtualMethod(); public abstract new void VirtualMethod();
} }
internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 internal class TestNewNonVirtualMethod : Il2CppTests.TestSources.Test // TypeDefIndex: 1822
{ {
// Constructors // Constructors
public TestNewNonVirtualMethod() {} // 0x100C2000-0x100C2010 public TestNewNonVirtualMethod() {} // 0x100C2000-0x100C2010

View File

@@ -97,8 +97,10 @@ namespace Il2CppTests.TestSources
public void MethodWithInRefOut(in int a, ref int b, out int c) { public void MethodWithInRefOut(in int a, ref int b, out int c) {
c = default; c = default;
} // 0x00000001803E0E60-0x00000001803E0E70 } // 0x00000001803E0E60-0x00000001803E0E70
public ref float MethodWithRefReturnType() => default; // 0x00000001803E0E70-0x00000001803E0E70 public ref float MethodWithRefReturnType() => ref _refReturnTypeForMethodWithRefReturnType; // 0x00000001803E0E70-0x00000001803E0E70
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => default; private ref float _refReturnTypeForMethodWithRefReturnType; // Dummy field
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => ref _refReturnTypeForMethodWithGenericAndClassRefs;
private ref Test _refReturnTypeForMethodWithGenericAndClassRefs; // Dummy field
} }
[Obsolete] // 0x000000018000CB80-0x000000018000CBB0 [Obsolete] // 0x000000018000CB80-0x000000018000CBB0

View File

@@ -97,8 +97,10 @@ namespace Il2CppTests.TestSources
public void MethodWithInRefOut(in int a, ref int b, out int c) { public void MethodWithInRefOut(in int a, ref int b, out int c) {
c = default; c = default;
} // 0x1034DA60-0x1034DA70 } // 0x1034DA60-0x1034DA70
public ref float MethodWithRefReturnType() => default; // 0x1034DA70-0x1034DA70 public ref float MethodWithRefReturnType() => ref _refReturnTypeForMethodWithRefReturnType; // 0x1034DA70-0x1034DA70
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => default; private ref float _refReturnTypeForMethodWithRefReturnType; // Dummy field
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => ref _refReturnTypeForMethodWithGenericAndClassRefs;
private ref Test _refReturnTypeForMethodWithGenericAndClassRefs; // Dummy field
} }
[Obsolete] // 0x1000DD10-0x1000DD40 [Obsolete] // 0x1000DD10-0x1000DD40

View File

@@ -90,7 +90,7 @@ namespace Il2CppTests.TestSources
public Base() {} public Base() {}
} }
public class Derived<V> : Base<string, V> // TypeDefIndex: 1816 public class Derived<V> : Il2CppTests.TestSources.Base<string, V> // TypeDefIndex: 1816
{ {
// Fields // Fields
public G<Derived<V>> F; // 0x00 public G<Derived<V>> F; // 0x00
@@ -250,7 +250,7 @@ namespace Il2CppTests.TestSources
public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {} public void GenericMethodDefinitionInGenericClass2<U>(T a, U b) {}
} }
public class CallGenericMethods : GenericClassWithMethods<int> // TypeDefIndex: 1835 public class CallGenericMethods : Il2CppTests.TestSources.GenericClassWithMethods<int> // TypeDefIndex: 1835
{ {
// Constructors // Constructors
public CallGenericMethods() {} // 0x0057B120-0x0057B184 public CallGenericMethods() {} // 0x0057B120-0x0057B184

View File

@@ -110,7 +110,7 @@ namespace Il2CppTests.TestSources
public abstract void AbstractMethod(); public abstract void AbstractMethod();
} }
internal class TestOverride : Test // TypeDefIndex: 1814 internal class TestOverride : Il2CppTests.TestSources.Test // TypeDefIndex: 1814
{ {
// Constructors // Constructors
public TestOverride() {} // 0x00561238-0x00561240 public TestOverride() {} // 0x00561238-0x00561240
@@ -119,7 +119,7 @@ namespace Il2CppTests.TestSources
public override void VirtualMethod() {} // 0x00561294-0x00561298 public override void VirtualMethod() {} // 0x00561294-0x00561298
} }
internal class TestHideVirtual : Test // TypeDefIndex: 1815 internal class TestHideVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1815
{ {
// Constructors // Constructors
public TestHideVirtual() {} // 0x00561270-0x00561278 public TestHideVirtual() {} // 0x00561270-0x00561278
@@ -128,7 +128,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x0056126C-0x00561270 public new void VirtualMethod() {} // 0x0056126C-0x00561270
} }
internal class TestHideOverride : TestOverride // TypeDefIndex: 1816 internal class TestHideOverride : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1816
{ {
// Constructors // Constructors
public TestHideOverride() {} // 0x00561258-0x00561260 public TestHideOverride() {} // 0x00561258-0x00561260
@@ -137,7 +137,7 @@ namespace Il2CppTests.TestSources
public new void VirtualMethod() {} // 0x00561254-0x00561258 public new void VirtualMethod() {} // 0x00561254-0x00561258
} }
internal class TestOverrideAbstract : TestAbstract // TypeDefIndex: 1817 internal class TestOverrideAbstract : Il2CppTests.TestSources.TestAbstract // TypeDefIndex: 1817
{ {
// Constructors // Constructors
public TestOverrideAbstract() {} // 0x0056124C-0x00561254 public TestOverrideAbstract() {} // 0x0056124C-0x00561254
@@ -146,7 +146,7 @@ namespace Il2CppTests.TestSources
public override void AbstractMethod() {} // 0x00561298-0x00561298 public override void AbstractMethod() {} // 0x00561298-0x00561298
} }
internal class TestHideAbstractOverride : TestOverrideAbstract // TypeDefIndex: 1818 internal class TestHideAbstractOverride : Il2CppTests.TestSources.TestOverrideAbstract // TypeDefIndex: 1818
{ {
// Constructors // Constructors
public TestHideAbstractOverride() {} // 0x00561244-0x0056124C public TestHideAbstractOverride() {} // 0x00561244-0x0056124C
@@ -155,7 +155,7 @@ namespace Il2CppTests.TestSources
public new void AbstractMethod() {} // 0x00561240-0x00561244 public new void AbstractMethod() {} // 0x00561240-0x00561244
} }
internal class TestHideVirtualAndNewVirtual : Test // TypeDefIndex: 1819 internal class TestHideVirtualAndNewVirtual : Il2CppTests.TestSources.Test // TypeDefIndex: 1819
{ {
// Constructors // Constructors
public TestHideVirtualAndNewVirtual() {} // 0x0056127C-0x00561284 public TestHideVirtualAndNewVirtual() {} // 0x0056127C-0x00561284
@@ -164,7 +164,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x00561278-0x0056127C public virtual new void VirtualMethod() {} // 0x00561278-0x0056127C
} }
internal class TestHideOverrideAndNewVirtual : TestOverride // TypeDefIndex: 1820 internal class TestHideOverrideAndNewVirtual : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1820
{ {
// Constructors // Constructors
public TestHideOverrideAndNewVirtual() {} // 0x00561264-0x0056126C public TestHideOverrideAndNewVirtual() {} // 0x00561264-0x0056126C
@@ -173,7 +173,7 @@ namespace Il2CppTests.TestSources
public virtual new void VirtualMethod() {} // 0x00561260-0x00561264 public virtual new void VirtualMethod() {} // 0x00561260-0x00561264
} }
internal abstract class TestAbstractNew : TestOverride // TypeDefIndex: 1821 internal abstract class TestAbstractNew : Il2CppTests.TestSources.TestOverride // TypeDefIndex: 1821
{ {
// Constructors // Constructors
protected TestAbstractNew() {} // 0x00561230-0x00561238 protected TestAbstractNew() {} // 0x00561230-0x00561238
@@ -182,7 +182,7 @@ namespace Il2CppTests.TestSources
public abstract new void VirtualMethod(); public abstract new void VirtualMethod();
} }
internal class TestNewNonVirtualMethod : Test // TypeDefIndex: 1822 internal class TestNewNonVirtualMethod : Il2CppTests.TestSources.Test // TypeDefIndex: 1822
{ {
// Constructors // Constructors
public TestNewNonVirtualMethod() {} // 0x0056128C-0x00561294 public TestNewNonVirtualMethod() {} // 0x0056128C-0x00561294

View File

@@ -97,8 +97,10 @@ namespace Il2CppTests.TestSources
public void MethodWithInRefOut(in int a, ref int b, out int c) { public void MethodWithInRefOut(in int a, ref int b, out int c) {
c = default; c = default;
} // 0x005610EC-0x005610F8 } // 0x005610EC-0x005610F8
public ref float MethodWithRefReturnType() => default; // 0x005610F8-0x00561100 public ref float MethodWithRefReturnType() => ref _refReturnTypeForMethodWithRefReturnType; // 0x005610F8-0x00561100
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => default; private ref float _refReturnTypeForMethodWithRefReturnType; // Dummy field
public ref Test MethodWithGenericAndClassRefs<T>(ref T argGeneric, ref int argValueType, ref Test argClass) => ref _refReturnTypeForMethodWithGenericAndClassRefs;
private ref Test _refReturnTypeForMethodWithGenericAndClassRefs; // Dummy field
} }
[Obsolete] // 0x000A524C-0x000A5284 [Obsolete] // 0x000A524C-0x000A5284