102 lines
4.7 KiB
C#
102 lines
4.7 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Dynamic;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Contains helper methods called from dynamically generated methods.</summary>
|
|
// Token: 0x02000258 RID: 600
|
|
[Token(Token = "0x2000258")]
|
|
[DebuggerStepThrough]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public static class RuntimeOps
|
|
{
|
|
/// <summary>Gets the value of an item in an expando object.</summary>
|
|
/// <param name="expando">The expando object.</param>
|
|
/// <param name="indexClass">The class of the expando object.</param>
|
|
/// <param name="index">The index of the member.</param>
|
|
/// <param name="name">The name of the member.</param>
|
|
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
|
/// <param name="value">The out parameter containing the value of the member.</param>
|
|
/// <returns>True if the member exists in the expando object, otherwise false.</returns>
|
|
// Token: 0x06000BF2 RID: 3058 RVA: 0x000061F8 File Offset: 0x000043F8
|
|
[Token(Token = "0x6000BF2")]
|
|
[Address(RVA = "0x10DB410", Offset = "0x10DA410", VA = "0x1810DB410")]
|
|
[Obsolete]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[Obsolete("do not use this method", true)]
|
|
public static bool ExpandoTryGetValue(ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase, out object value)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Sets the value of an item in an expando object.</summary>
|
|
/// <param name="expando">The expando object.</param>
|
|
/// <param name="indexClass">The class of the expando object.</param>
|
|
/// <param name="index">The index of the member.</param>
|
|
/// <param name="value">The value of the member.</param>
|
|
/// <param name="name">The name of the member.</param>
|
|
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
|
/// <returns>Returns the index for the set member.</returns>
|
|
// Token: 0x06000BF3 RID: 3059 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF3")]
|
|
[Address(RVA = "0x10DB440", Offset = "0x10DA440", VA = "0x1810DB440")]
|
|
[Obsolete]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[Obsolete("do not use this method", true)]
|
|
public static object ExpandoTrySetValue(ExpandoObject expando, object indexClass, int index, object value, string name, bool ignoreCase)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Deletes the value of an item in an expando object.</summary>
|
|
/// <param name="expando">The expando object.</param>
|
|
/// <param name="indexClass">The class of the expando object.</param>
|
|
/// <param name="index">The index of the member.</param>
|
|
/// <param name="name">The name of the member.</param>
|
|
/// <param name="ignoreCase">true if the name should be matched ignoring case; false otherwise.</param>
|
|
/// <returns>true if the item was successfully removed; otherwise, false.</returns>
|
|
// Token: 0x06000BF4 RID: 3060 RVA: 0x00006210 File Offset: 0x00004410
|
|
[Token(Token = "0x6000BF4")]
|
|
[Address(RVA = "0x10DB350", Offset = "0x10DA350", VA = "0x1810DB350")]
|
|
[Obsolete]
|
|
[Obsolete("do not use this method", true)]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public static bool ExpandoTryDeleteValue(ExpandoObject expando, object indexClass, int index, string name, bool ignoreCase)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Checks the version of the Expando object.</summary>
|
|
/// <param name="expando">The Expando object.</param>
|
|
/// <param name="version">The version to check.</param>
|
|
/// <returns>Returns true if the version is equal; otherwise, false.</returns>
|
|
// Token: 0x06000BF5 RID: 3061 RVA: 0x00006228 File Offset: 0x00004428
|
|
[Token(Token = "0x6000BF5")]
|
|
[Address(RVA = "0x10DB300", Offset = "0x10DA300", VA = "0x1810DB300")]
|
|
[Obsolete]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[Obsolete("do not use this method", true)]
|
|
public static bool ExpandoCheckVersion(ExpandoObject expando, object version)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Promotes an Expando object from one class to a new class.</summary>
|
|
/// <param name="expando">The Expando object.</param>
|
|
/// <param name="oldClass">The old class of the Expando object.</param>
|
|
/// <param name="newClass">The new class of the Expando object.</param>
|
|
// Token: 0x06000BF6 RID: 3062 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BF6")]
|
|
[Address(RVA = "0x10DB330", Offset = "0x10DA330", VA = "0x1810DB330")]
|
|
[Obsolete]
|
|
[Obsolete("do not use this method", true)]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public static void ExpandoPromoteClass(ExpandoObject expando, object oldClass, object newClass)
|
|
{
|
|
}
|
|
}
|
|
}
|