Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

119 lines
4.7 KiB
C#

using System;
using System.Runtime.ConstrainedExecution;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>Provides a set of static methods and properties that provide support for compilers. This class cannot be inherited.</summary>
// Token: 0x02000582 RID: 1410
[Token(Token = "0x2000582")]
public static class RuntimeHelpers
{
// Token: 0x06002C99 RID: 11417 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C99")]
[Address(RVA = "0x2CFB360", Offset = "0x2CFA360", VA = "0x182CFB360")]
private static void InitializeArray(Array array, IntPtr fldHandle)
{
}
/// <summary>Provides a fast way to initialize an array from data that is stored in a module.</summary>
/// <param name="array">The array to be initialized.</param>
/// <param name="fldHandle">A field handle that specifies the location of the data used to initialize the array.</param>
// Token: 0x06002C9A RID: 11418 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C9A")]
[Address(RVA = "0x2CFB2E0", Offset = "0x2CFA2E0", VA = "0x182CFB2E0")]
public static void InitializeArray(Array array, RuntimeFieldHandle fldHandle)
{
}
/// <summary>Gets the offset, in bytes, to the data in the given string.</summary>
/// <returns>The byte offset, from the start of the <see cref="T:System.String" /> object to the first character in the string.</returns>
// Token: 0x170006C6 RID: 1734
// (get) Token: 0x06002C9B RID: 11419 RVA: 0x00018D68 File Offset: 0x00016F68
[Token(Token = "0x170006C6")]
public static int OffsetToStringData
{
[Token(Token = "0x6002C9B")]
[Address(RVA = "0x2CFB400", Offset = "0x2CFA400", VA = "0x182CFB400")]
get
{
return 0;
}
}
/// <summary>Serves as a hash function for a particular object, and is suitable for use in algorithms and data structures that use hash codes, such as a hash table.</summary>
/// <param name="o">An object to retrieve the hash code for.</param>
/// <returns>A hash code for the object identified by the <paramref name="o" /> parameter.</returns>
// Token: 0x06002C9C RID: 11420 RVA: 0x00018D80 File Offset: 0x00016F80
[Token(Token = "0x6002C9C")]
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150")]
public static int GetHashCode(object o)
{
return 0;
}
/// <summary>Boxes a value type.</summary>
/// <param name="obj">The value type to be boxed.</param>
/// <returns>A boxed copy of <paramref name="obj" /> if it is a value class; otherwise, <paramref name="obj" /> itself.</returns>
// Token: 0x06002C9D RID: 11421 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002C9D")]
[Address(RVA = "0x2CFB2D0", Offset = "0x2CFA2D0", VA = "0x182CFB2D0")]
public static object GetObjectValue(object obj)
{
return null;
}
// Token: 0x06002C9E RID: 11422 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C9E")]
[Address(RVA = "0x2CFB3F0", Offset = "0x2CFA3F0", VA = "0x182CFB3F0")]
private static void RunClassConstructor(IntPtr type)
{
}
/// <summary>Runs a specified class constructor method.</summary>
/// <param name="type">A type handle that specifies the class constructor method to run.</param>
/// <exception cref="T:System.TypeInitializationException">The class initializer throws an exception.</exception>
// Token: 0x06002C9F RID: 11423 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C9F")]
[Address(RVA = "0x2CFB370", Offset = "0x2CFA370", VA = "0x182CFB370")]
public static void RunClassConstructor(RuntimeTypeHandle type)
{
}
// Token: 0x06002CA0 RID: 11424 RVA: 0x00018D98 File Offset: 0x00016F98
[Token(Token = "0x6002CA0")]
[Address(RVA = "0xAE5C70", Offset = "0xAE4C70", VA = "0x180AE5C70")]
private static bool SufficientExecutionStack()
{
return default(bool);
}
// Token: 0x06002CA1 RID: 11425 RVA: 0x00018DB0 File Offset: 0x00016FB0
[Token(Token = "0x6002CA1")]
[Address(RVA = "0xAE5C70", Offset = "0xAE4C70", VA = "0x180AE5C70")]
public static bool TryEnsureSufficientExecutionStack()
{
return default(bool);
}
/// <summary>Designates a body of code as a constrained execution region (CER).</summary>
// Token: 0x06002CA2 RID: 11426 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002CA2")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
[MonoTODO]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
[MonoTODO("Currently a no-op")]
public static void PrepareConstrainedRegions()
{
}
// Token: 0x06002CA3 RID: 11427 RVA: 0x00018DC8 File Offset: 0x00016FC8
[Token(Token = "0x6002CA3")]
[Address(RVA = "0x21B5930", Offset = "0x21B4930", VA = "0x1821B5930")]
public static bool IsReferenceOrContainsReferences<T>()
{
return default(bool);
}
}
}