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

139 lines
5.8 KiB
C#
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents an expression that has a conditional operator.</summary>
// Token: 0x02000084 RID: 132
[Token(Token = "0x2000084")]
[DebuggerTypeProxy(typeof(Expression.ConditionalExpressionProxy))]
public class ConditionalExpression : Expression
{
// Token: 0x060003BF RID: 959 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60003BF")]
[Address(RVA = "0x85F5F0", Offset = "0x85E5F0", VA = "0x18085F5F0")]
internal ConditionalExpression(Expression test, Expression ifTrue)
{
}
// Token: 0x060003C0 RID: 960 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003C0")]
[Address(RVA = "0x85F2F0", Offset = "0x85E2F0", VA = "0x18085F2F0")]
internal static ConditionalExpression Make(Expression test, Expression ifTrue, Expression ifFalse, Type type)
{
return null;
}
/// <summary>Returns the node type of this expression. Extension nodes should return <see cref="F:System.Linq.Expressions.ExpressionType.Extension" /> when overriding this method.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> of the expression.</returns>
// Token: 0x17000089 RID: 137
// (get) Token: 0x060003C1 RID: 961 RVA: 0x00002D48 File Offset: 0x00000F48
[Token(Token = "0x17000089")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x60003C1")]
[Address(RVA = "0x681E00", Offset = "0x680E00", VA = "0x180681E00", Slot = "4")]
get
{
return ExpressionType.Add;
}
}
/// <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.ConditionalExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x1700008A RID: 138
// (get) Token: 0x060003C2 RID: 962 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008A")]
public override Type Type
{
[Token(Token = "0x60003C2")]
[Address(RVA = "0x85B020", Offset = "0x85A020", VA = "0x18085B020", Slot = "5")]
get
{
return null;
}
}
/// <summary>Gets the test of the conditional operation.</summary>
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the test of the conditional operation.</returns>
// Token: 0x1700008B RID: 139
// (get) Token: 0x060003C3 RID: 963 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008B")]
public Expression Test
{
[Token(Token = "0x60003C3")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the expression to execute if the test evaluates to <see langword="true" />.</summary>
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the expression to execute if the test is <see langword="true" />.</returns>
// Token: 0x1700008C RID: 140
// (get) Token: 0x060003C4 RID: 964 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008C")]
public Expression IfTrue
{
[Token(Token = "0x60003C4")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Gets the expression to execute if the test evaluates to <see langword="false" />.</summary>
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the expression to execute if the test is <see langword="false" />.</returns>
// Token: 0x1700008D RID: 141
// (get) Token: 0x060003C5 RID: 965 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008D")]
public Expression IfFalse
{
[Token(Token = "0x60003C5")]
[Address(RVA = "0x85CED0", Offset = "0x85BED0", VA = "0x18085CED0")]
get
{
return null;
}
}
// Token: 0x060003C6 RID: 966 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003C6")]
[Address(RVA = "0x85F290", Offset = "0x85E290", VA = "0x18085F290", Slot = "10")]
internal virtual Expression GetFalse()
{
return null;
}
/// <summary>Dispatches to the specific visit method for this node type. For example, <see cref="T:System.Linq.Expressions.MethodCallExpression" /> calls the <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression)" />.</summary>
/// <param name="visitor">The visitor to visit this node with.</param>
/// <returns>The result of visiting this node.</returns>
// Token: 0x060003C7 RID: 967 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003C7")]
[Address(RVA = "0x85F260", Offset = "0x85E260", VA = "0x18085F260", 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="test">The <see cref="P:System.Linq.Expressions.ConditionalExpression.Test" /> property of the result.</param>
/// <param name="ifTrue">The <see cref="P:System.Linq.Expressions.ConditionalExpression.IfTrue" /> property of the result.</param>
/// <param name="ifFalse">The <see cref="P:System.Linq.Expressions.ConditionalExpression.IfFalse" /> property of the result.</param>
/// <returns>This expression if no children changed, or an expression with the updated children.</returns>
// Token: 0x060003C8 RID: 968 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003C8")]
[Address(RVA = "0x85F520", Offset = "0x85E520", VA = "0x18085F520")]
public ConditionalExpression Update(Expression test, Expression ifTrue, Expression ifFalse)
{
return null;
}
}
}