Tests: Update expected results

This commit is contained in:
Katy Coe
2020-06-24 10:38:34 +02:00
parent 418fb7221c
commit 955bc2a9ac
40 changed files with 3419 additions and 21884 deletions

View File

@@ -12,38 +12,38 @@ using System.Runtime.InteropServices;
using System.Security;
// Image 0: mscorlib.dll - Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Types 0-2871
[assembly: AllowPartiallyTrustedCallers] // 0x1000C340-0x1000C610
// [assembly: AssemblyCompany] // 0x1000C340-0x1000C610
// [assembly: AssemblyCopyright] // 0x1000C340-0x1000C610
// [assembly: AssemblyDefaultAlias] // 0x1000C340-0x1000C610
// [assembly: AssemblyDelaySign] // 0x1000C340-0x1000C610
// [assembly: AssemblyDescription] // 0x1000C340-0x1000C610
// [assembly: AssemblyFileVersion] // 0x1000C340-0x1000C610
// [assembly: AssemblyInformationalVersion] // 0x1000C340-0x1000C610
// [assembly: AssemblyKeyFile] // 0x1000C340-0x1000C610
// [assembly: AssemblyProduct] // 0x1000C340-0x1000C610
// [assembly: AssemblyTitle] // 0x1000C340-0x1000C610
// [assembly: CLSCompliant] // 0x1000C340-0x1000C610
// [assembly: ComCompatibleVersion] // 0x1000C340-0x1000C610
// [assembly: CompilationRelaxations] // 0x1000C340-0x1000C610
// [assembly: ComVisible] // 0x1000C340-0x1000C610
// [assembly: Debuggable] // 0x1000C340-0x1000C610
// [assembly: DefaultDependency] // 0x1000C340-0x1000C610
// [assembly: Guid] // 0x1000C340-0x1000C610
// [assembly: InternalsVisibleTo] // 0x1000C340-0x1000C610
// [assembly: InternalsVisibleTo] // 0x1000C340-0x1000C610
// [assembly: InternalsVisibleTo] // 0x1000C340-0x1000C610
// [assembly: InternalsVisibleTo] // 0x1000C340-0x1000C610
// [assembly: InternalsVisibleTo] // 0x1000C340-0x1000C610
// [assembly: NeutralResourcesLanguage] // 0x1000C340-0x1000C610
[assembly: RuntimeCompatibility] // 0x1000C340-0x1000C610
// [assembly: SatelliteContractVersion] // 0x1000C340-0x1000C610
[assembly: StringFreezing] // 0x1000C340-0x1000C610
[assembly: AllowPartiallyTrustedCallers] // 0x1000C530-0x1000C800
// [assembly: AssemblyCompany] // 0x1000C530-0x1000C800
// [assembly: AssemblyCopyright] // 0x1000C530-0x1000C800
// [assembly: AssemblyDefaultAlias] // 0x1000C530-0x1000C800
// [assembly: AssemblyDelaySign] // 0x1000C530-0x1000C800
// [assembly: AssemblyDescription] // 0x1000C530-0x1000C800
// [assembly: AssemblyFileVersion] // 0x1000C530-0x1000C800
// [assembly: AssemblyInformationalVersion] // 0x1000C530-0x1000C800
// [assembly: AssemblyKeyFile] // 0x1000C530-0x1000C800
// [assembly: AssemblyProduct] // 0x1000C530-0x1000C800
// [assembly: AssemblyTitle] // 0x1000C530-0x1000C800
// [assembly: CLSCompliant] // 0x1000C530-0x1000C800
// [assembly: ComCompatibleVersion] // 0x1000C530-0x1000C800
// [assembly: CompilationRelaxations] // 0x1000C530-0x1000C800
// [assembly: ComVisible] // 0x1000C530-0x1000C800
// [assembly: Debuggable] // 0x1000C530-0x1000C800
// [assembly: DefaultDependency] // 0x1000C530-0x1000C800
// [assembly: Guid] // 0x1000C530-0x1000C800
// [assembly: InternalsVisibleTo] // 0x1000C530-0x1000C800
// [assembly: InternalsVisibleTo] // 0x1000C530-0x1000C800
// [assembly: InternalsVisibleTo] // 0x1000C530-0x1000C800
// [assembly: InternalsVisibleTo] // 0x1000C530-0x1000C800
// [assembly: InternalsVisibleTo] // 0x1000C530-0x1000C800
// [assembly: NeutralResourcesLanguage] // 0x1000C530-0x1000C800
[assembly: RuntimeCompatibility] // 0x1000C530-0x1000C800
// [assembly: SatelliteContractVersion] // 0x1000C530-0x1000C800
[assembly: StringFreezing] // 0x1000C530-0x1000C800
// Image 1: References.dll - Assembly: References, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 2872-2874
// [assembly: CompilationRelaxations] // 0x1000ACE0-0x1000AD30
// [assembly: Debuggable] // 0x1000ACE0-0x1000AD30
[assembly: RuntimeCompatibility] // 0x1000ACE0-0x1000AD30
// [assembly: CompilationRelaxations] // 0x1000AED0-0x1000AF20
// [assembly: Debuggable] // 0x1000AED0-0x1000AF20
[assembly: RuntimeCompatibility] // 0x1000AED0-0x1000AF20
internal static class Interop // TypeDefIndex: 2
{
@@ -123,11 +123,11 @@ internal static class Consts // TypeDefIndex: 5
internal sealed class Locale // TypeDefIndex: 6
{
// Constructors
private Locale() {} // 0x100F4510-0x100F4520
private Locale() {} // 0x100F5550-0x100F5560
// Methods
public static string GetText(string msg) => default; // 0x101153B0-0x101153C0
public static string GetText(string fmt, params /* 0x10003080-0x100030A0 */ object[] args) => default; // 0x102B2AA0-0x102B2AB0
public static string GetText(string msg) => default; // 0x10116390-0x101163A0
public static string GetText(string fmt, params /* 0x10003130-0x10003150 */ object[] args) => default; // 0x102B2CB0-0x102B2CC0
}
internal static class SR // TypeDefIndex: 7
@@ -956,14 +956,14 @@ internal static class SR // TypeDefIndex: 7
public const string OutstandingReferences = "Release all references before disposing this instance."; // Metadata: 0x00184BB4
// Methods
internal static string GetString(string name, params /* 0x10003080-0x100030A0 */ object[] args) => default; // 0x10158960-0x101589C0
internal static string GetString(CultureInfo culture, string name, params /* 0x10003080-0x100030A0 */ object[] args) => default; // 0x101589D0-0x101589E0
internal static string GetString(string name) => default; // 0x101153B0-0x101153C0
internal static string GetString(CultureInfo culture, string name) => default; // 0x101589C0-0x101589D0
internal static string Format(string resourceFormat, params /* 0x10003080-0x100030A0 */ object[] args) => default; // 0x10158830-0x101588A0
internal static string Format(string resourceFormat, object p1) => default; // 0x10158900-0x10158960
internal static string Format(string resourceFormat, object p1, object p2) => default; // 0x101587D0-0x10158830
internal static string Format(string resourceFormat, object p1, object p2, object p3) => default; // 0x101588A0-0x10158900
internal static string GetString(string name, params /* 0x10003130-0x10003150 */ object[] args) => default; // 0x10159660-0x101596C0
internal static string GetString(CultureInfo culture, string name, params /* 0x10003130-0x10003150 */ object[] args) => default; // 0x101596D0-0x101596E0
internal static string GetString(string name) => default; // 0x10116390-0x101163A0
internal static string GetString(CultureInfo culture, string name) => default; // 0x101596C0-0x101596D0
internal static string Format(string resourceFormat, params /* 0x10003130-0x10003150 */ object[] args) => default; // 0x10159530-0x101595A0
internal static string Format(string resourceFormat, object p1) => default; // 0x10159600-0x10159660
internal static string Format(string resourceFormat, object p1, object p2) => default; // 0x101594D0-0x10159530
internal static string Format(string resourceFormat, object p1, object p2, object p3) => default; // 0x101595A0-0x10159600
}
namespace Il2CppTests.TestSources
@@ -975,21 +975,21 @@ namespace Il2CppTests.TestSources
private Test test; // 0x0C
// Constructors
public Test() {} // 0x100F4510-0x100F4520
public Test() {} // 0x100F5550-0x100F5560
// Methods
public void MethodWithRefParameters(int a, ref int b, int c, ref int d) {} // 0x100F5940-0x100F5950
public void MethodWithInRefOut([IsReadOnly] /* 0x10003080-0x100030A0 */ in int a, ref int b, out int c) {
public void MethodWithRefParameters(int a, ref int b, int c, ref int d) {} // 0x100F6980-0x100F6990
public void MethodWithInRefOut([IsReadOnly] /* 0x10003130-0x10003150 */ in int a, ref int b, out int c) {
c = default;
} // 0x105F2330-0x105F2340
public ref float MethodWithRefReturnType() => ref _refReturnTypeForMethodWithRefReturnType; // 0x105F2340-0x105F2340
} // 0x105F2350-0x105F2360
public ref float MethodWithRefReturnType() => ref _refReturnTypeForMethodWithRefReturnType; // 0x105F2360-0x105F2360
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
}
[IsByRefLike] // 0x1000ADB0-0x1000ADF0
[Obsolete] // 0x1000ADB0-0x1000ADF0
[IsByRefLike] // 0x1000AFA0-0x1000AFE0
[Obsolete] // 0x1000AFA0-0x1000AFE0
public struct RefStruct // TypeDefIndex: 2874
{
// Fields