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

104 lines
4.5 KiB
C#

using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents a label, which can be put in any <see cref="T:System.Linq.Expressions.Expression" /> context. If it is jumped to, it will get the value provided by the corresponding <see cref="T:System.Linq.Expressions.GotoExpression" />. Otherwise, it receives the value in <see cref="P:System.Linq.Expressions.LabelExpression.DefaultValue" />. If the <see cref="T:System.Type" /> equals System.Void, no value should be provided.</summary>
// Token: 0x0200009D RID: 157
[Token(Token = "0x200009D")]
[DebuggerTypeProxy(typeof(Expression.LabelExpressionProxy))]
public sealed class LabelExpression : Expression
{
// Token: 0x060004DD RID: 1245 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004DD")]
[Address(RVA = "0xE5DF00", Offset = "0xE5CF00", VA = "0x180E5DF00")]
internal LabelExpression(LabelTarget label, Expression defaultValue)
{
}
/// <summary>Gets the static type of the expression that this <see cref="T:System.Linq.Expressions.Expression" /> represents.</summary>
/// <returns>The <see cref="P:System.Linq.Expressions.LabelExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x170000B3 RID: 179
// (get) Token: 0x060004DE RID: 1246 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000B3")]
public sealed override Type Type
{
[Token(Token = "0x60004DE")]
[Address(RVA = "0x423ED0", Offset = "0x422ED0", VA = "0x180423ED0", Slot = "5")]
get
{
return null;
}
}
/// <summary>Returns the node type of this <see cref="T:System.Linq.Expressions.Expression" />.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> that represents this expression.</returns>
// Token: 0x170000B4 RID: 180
// (get) Token: 0x060004DF RID: 1247 RVA: 0x00002F88 File Offset: 0x00001188
[Token(Token = "0x170000B4")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x60004DF")]
[Address(RVA = "0xE5DF80", Offset = "0xE5CF80", VA = "0x180E5DF80", Slot = "4")]
get
{
return ExpressionType.Add;
}
}
/// <summary>The <see cref="T:System.Linq.Expressions.LabelTarget" /> which this label is associated with.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.LabelTarget" /> which this label is associated with.</returns>
// Token: 0x170000B5 RID: 181
// (get) Token: 0x060004E0 RID: 1248 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000B5")]
public LabelTarget Target
{
[Token(Token = "0x60004E0")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>The value of the <see cref="T:System.Linq.Expressions.LabelExpression" /> when the label is reached through regular control flow (for example, is not jumped to).</summary>
/// <returns>The Expression object representing the value of the <see cref="T:System.Linq.Expressions.LabelExpression" />.</returns>
// Token: 0x170000B6 RID: 182
// (get) Token: 0x060004E1 RID: 1249 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000B6")]
public Expression DefaultValue
{
[Token(Token = "0x60004E1")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
[CompilerGenerated]
get
{
return null;
}
}
// Token: 0x060004E2 RID: 1250 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004E2")]
[Address(RVA = "0xE5DE40", Offset = "0xE5CE40", VA = "0x180E5DE40", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
/// <summary>Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.</summary>
/// <param name="target">The <see cref="P:System.Linq.Expressions.LabelExpression.Target" /> property of the result.</param>
/// <param name="defaultValue">The <see cref="P:System.Linq.Expressions.LabelExpression.DefaultValue" /> property of the result</param>
/// <returns>This expression if no children are changed or an expression with the updated children.</returns>
// Token: 0x060004E3 RID: 1251 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004E3")]
[Address(RVA = "0xE5DE70", Offset = "0xE5CE70", VA = "0x180E5DE70")]
public LabelExpression Update(LabelTarget target, Expression defaultValue)
{
return null;
}
}
}